no edit mode on global overlays

This commit is contained in:
galister
2025-11-13 19:46:00 +09:00
parent 6ca193d1c0
commit 1b0ebb8414

View File

@@ -197,8 +197,9 @@ impl<T> OverlayWindowManager<T> {
return;
};
if !overlay.config.default_state.grabbable {
return; // FIXME: not a proper solution
if !overlay.config.global {
// watch, anchor, toast, dashboard
return;
}
if enabled {