overlay: add config option for clickthrough widget opacity

This commit is contained in:
end-4
2025-11-07 21:09:39 +01:00
parent a831d393c1
commit 87181585aa
2 changed files with 2 additions and 0 deletions
@@ -380,6 +380,7 @@ Singleton {
property JsonObject overlay: JsonObject {
property bool openingZoomAnimation: true
property bool darkenScreen: true
property real clickthroughOpacity: 0.7
}
property JsonObject overview: JsonObject {
@@ -44,6 +44,7 @@ AbstractOverlayWidget {
maximumX: root.parent.width - root.width
maximumY: root.parent.height - root.height
}
opacity: (GlobalStates.overlayOpen || !clickthrough) ? 1.0 : Config.options.overlay.clickthroughOpacity
// Guarded states & registration funcs
property bool open: Persistent.states.overlay.open