mirror of https://github.com/wayvr-org/wayvr.git
no edit mode on global overlays
This commit is contained in:
parent
6ca193d1c0
commit
1b0ebb8414
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue