mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
qmlformat
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ Rectangle {
|
||||
anchors.fill: parent
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
hoverEnabled: true
|
||||
onEntered: root.onEntered()
|
||||
onEntered: root.onEntered()
|
||||
onExited: root.onExited()
|
||||
onClicked: root.onClicked()
|
||||
}
|
||||
|
||||
+7
-4
@@ -16,16 +16,19 @@ Loader {
|
||||
sourceComponent: panel
|
||||
|
||||
onActiveChanged: {
|
||||
if (active && item && item.show) item.show()
|
||||
if (active && item && item.show)
|
||||
item.show()
|
||||
}
|
||||
|
||||
onItemChanged: {
|
||||
if (active && item && item.show) item.show()
|
||||
if (active && item && item.show)
|
||||
item.show()
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: loader.item
|
||||
function onDismissed() { loader.isLoaded = false }
|
||||
function onDismissed() {
|
||||
loader.isLoaded = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ PanelWindow {
|
||||
property bool showOverlay: Settings.settings.dimPanels
|
||||
property int topMargin: Style.barHeight * scaling
|
||||
property color overlayColor: showOverlay ? Colors.overlay : "transparent"
|
||||
signal dismissed()
|
||||
signal dismissed
|
||||
|
||||
function hide() {
|
||||
visible = false
|
||||
|
||||
Reference in New Issue
Block a user