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 {
id: mouseArea
anchors.fill: parent
onClicked: popupLoader.active = false
onClicked: {
popupLoader.active = false
}
// makes the mouse area track mouse hovering, so the hide animation
// can be paused when hovering.
@@ -2,6 +2,6 @@ import QtQuick
MouseArea {
anchors.fill: parent
onPressed: mouse.accepted = false
onPressed: (mouse) => mouse.accepted = false
cursorShape: Qt.PointingHandCursor
}
@@ -27,6 +27,9 @@ TabButton {
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 {
anchors.centerIn: buttonBackground
@@ -252,13 +252,13 @@ Item {
focus: root.showAddDialog
onAccepted: dialog.addTask()
background: Rectangle {
anchors.fill: parent
radius: 8
border.width: 2
border.color: todoInput.activeFocus ? Appearance.m3colors.m3primary : Appearance.m3colors.m3outline
color: "transparent"
}
// background: Rectangle {
// anchors.fill: parent
// radius: Appearance.rounding.verysmall
// border.width: 2
// border.color: todoInput.activeFocus ? Appearance.m3colors.m3primary : Appearance.m3colors.m3outline
// color: "transparent"
// }
cursorDelegate: Rectangle {
width: 1