Tweaked hover effects

This commit is contained in:
2026-03-10 14:03:36 +01:00
parent 4ccd49b11b
commit bda1465422
3 changed files with 16 additions and 10 deletions

View File

@@ -31,24 +31,34 @@ export component WindowHeader {
}
HorizontalLayout {
padding: 4px;
padding-right: 4px;
padding-top: 4px;
padding-bottom: 4px;
Rectangle {
width: 12px;
height: 12px;
background: Palette.warning;
border-radius: self.width / 2;
y: (parent.height - self.height) / 2;
TouchArea {
mouse-cursor: pointer;
}
}
}
HorizontalLayout {
padding: 4px;
padding-right: 4px;
padding-top: 4px;
padding-bottom: 4px;
Rectangle {
width: 12px;
height: 12px;
background: Palette.error;
border-radius: self.width / 2;
y: (parent.height - self.height) / 2;
TouchArea {
mouse-cursor: pointer;
}
}
}
}