mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-15 00:34:05 +09:00
Fix reversed intellihide condition
This commit is contained in:
@@ -231,7 +231,9 @@ export const Intellihide = class {
|
||||
}
|
||||
|
||||
_setRevealMechanism() {
|
||||
if ((global.backend.capabilities & Meta.BackendCapabilities.BARRIERS) === 0 && SETTINGS.get_boolean('intellihide-use-pressure')) {
|
||||
let barriers = Meta.BackendCapabilities.BARRIERS
|
||||
|
||||
if ((global.backend.capabilities & barriers) === barriers && SETTINGS.get_boolean('intellihide-use-pressure')) {
|
||||
this._edgeBarrier = this._createBarrier();
|
||||
this._pressureBarrier = new Layout.PressureBarrier(
|
||||
SETTINGS.get_int('intellihide-pressure-threshold'),
|
||||
|
||||
Reference in New Issue
Block a user