This commit is contained in:
end-4
2025-04-17 23:01:48 +02:00
parent 2d540c16bc
commit 75bf5028fd
4 changed files with 14 additions and 9 deletions
+3 -1
View File
@@ -58,7 +58,9 @@ Scope {
MouseArea { MouseArea {
id: mouseArea id: mouseArea
anchors.fill: parent anchors.fill: parent
onClicked: popupLoader.active = false onClicked: {
popupLoader.active = false
}
// makes the mouse area track mouse hovering, so the hide animation // makes the mouse area track mouse hovering, so the hide animation
// can be paused when hovering. // can be paused when hovering.
@@ -2,6 +2,6 @@ import QtQuick
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
onPressed: mouse.accepted = false onPressed: (mouse) => mouse.accepted = false
cursorShape: Qt.PointingHandCursor cursorShape: Qt.PointingHandCursor
} }
@@ -27,6 +27,9 @@ TabButton {
easing.type: Appearance.animation.elementDecel.type easing.type: Appearance.animation.elementDecel.type
} }
} }
border.color: button.activeFocus ? Appearance.m3colors.m3secondary : Appearance.transparentize(Appearance.m3colors.m3secondary, 1)
border.width: button.activeFocus ? 2 : 0
} }
contentItem: Item { contentItem: Item {
anchors.centerIn: buttonBackground anchors.centerIn: buttonBackground
@@ -252,13 +252,13 @@ Item {
focus: root.showAddDialog focus: root.showAddDialog
onAccepted: dialog.addTask() onAccepted: dialog.addTask()
background: Rectangle { // background: Rectangle {
anchors.fill: parent // anchors.fill: parent
radius: 8 // radius: Appearance.rounding.verysmall
border.width: 2 // border.width: 2
border.color: todoInput.activeFocus ? Appearance.m3colors.m3primary : Appearance.m3colors.m3outline // border.color: todoInput.activeFocus ? Appearance.m3colors.m3primary : Appearance.m3colors.m3outline
color: "transparent" // color: "transparent"
} // }
cursorDelegate: Rectangle { cursorDelegate: Rectangle {
width: 1 width: 1