forked from Shinonome/dots-hyprland
sync
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user