mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
Keep SpotlightModal always loaded.
Tbh, probably minimal impact on memory - makes app launching snappier.
This commit is contained in:
@@ -34,6 +34,7 @@ PanelWindow {
|
||||
property bool shouldHaveFocus: shouldBeVisible
|
||||
property bool allowFocusOverride: false
|
||||
property bool allowStacking: false
|
||||
property bool keepContentLoaded: false
|
||||
|
||||
signal opened
|
||||
signal dialogClosed
|
||||
@@ -171,7 +172,7 @@ PanelWindow {
|
||||
id: contentLoader
|
||||
|
||||
anchors.fill: parent
|
||||
active: root.shouldBeVisible || root.visible
|
||||
active: root.keepContentLoaded || root.shouldBeVisible || root.visible
|
||||
asynchronous: false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user