Minor style changes

This commit is contained in:
Prozilla 2023-07-25 20:38:32 +02:00
parent 37a8aa3eec
commit 3768995852
No known key found for this signature in database
GPG key ID: 5858DFE71CAF31EE
4 changed files with 9 additions and 1 deletions

View file

@ -13,6 +13,7 @@
width: 100%;
height: var(--task-bar-height);
background-color: var(--task-bar-color);
backdrop-filter: blur(15px);
z-index: 10;
}

View file

@ -6,6 +6,8 @@ export function WindowsView() {
const windows = useWindows();
const windowsManager = useWindowsManager();
// TO DO: prevent windows from being rerendered when order is changed
return (<div>
{windows.sort((windowA, windowB) =>
windowA.lastInteraction - windowB.lastInteraction

View file

@ -26,7 +26,7 @@ export default class WindowsManager {
app,
size,
position,
lastInteraction: 0
lastInteraction: new Date().valueOf()
};
this.updateWindows(this.windows);

View file

@ -110,4 +110,9 @@ p, a, button, input, h1, h2, h3, h4, h5, h6 {
code {
font-family: var(--mono-font-family);
}
*::selection {
color: var(--background-color-c);
background-color: var(--grey-b);
}