Skip to content

Commit

Permalink
fix: titlebar icon fix on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
HoaX7 committed Oct 18, 2024
1 parent 6c5a286 commit a7f9221
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/lib/components/customWindow/Windows.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<div>
{#each titlebar as item}
<button on:click={item.action} class="hover:bg-gray-300 p-2">
<Icon alt={item.name} src={item.icon} />
<Icon alt={item.name} src={item.icon} class="filter invert brightness-100 contrast-100 hover:invert-0 hover:brightness-0 hover:contrast-100" />
</button>
{/each}
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/src/lib/components/sidebar/Index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
const curdate = dt.getDate();
const curmonth = dt.getMonth();
$: {
groupedPages = pages.reduce((acc, r) => {
groupedPages = pages.sort((a, b) => (a.modified < b.modified ? 1 : -1)).reduce((acc, r) => {
const [yy, mm, dd] = [
r.modified.getFullYear(),
r.modified.getMonth(),
Expand Down

0 comments on commit a7f9221

Please sign in to comment.