mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
dock: fix warnings
This commit is contained in:
parent
b870f6b930
commit
47e26fd62f
1 changed files with 4 additions and 2 deletions
|
|
@ -64,7 +64,9 @@ Item {
|
|||
property bool allPreviewsReady: false
|
||||
Connections {
|
||||
target: root
|
||||
onLastHoveredButtonChanged: previewPopup.allPreviewsReady = false; // Reset readiness when the hovered button changes
|
||||
function onLastHoveredButtonChanged() {
|
||||
previewPopup.allPreviewsReady = false; // Reset readiness when the hovered button changes
|
||||
}
|
||||
}
|
||||
function updatePreviewReadiness() {
|
||||
for(var i = 0; i < previewRowLayout.children.length; i++) {
|
||||
|
|
@ -113,7 +115,7 @@ Item {
|
|||
}
|
||||
visible: popupBackground.visible
|
||||
color: "transparent"
|
||||
implicitWidth: root.QsWindow.window.width
|
||||
implicitWidth: root.QsWindow.window?.width ?? 1
|
||||
implicitHeight: popupMouseArea.implicitHeight + Appearance.sizes.elevationMargin * 2
|
||||
|
||||
MouseArea {
|
||||
|
|
|
|||
Loading…
Reference in a new issue