inert instead of pointer-events

This commit is contained in:
Rhiannon Morris 2024-09-27 18:49:05 +02:00
parent f2513321da
commit 1927517bcd

View file

@ -178,7 +178,7 @@ export function applyConfiguration(): void {
const place = current[pane];
element.style.setProperty('--base-transform', placeToTransform(place));
element.style.pointerEvents = place[0] == 'front' ? 'auto' : 'none';
element.inert = place[0] != 'front';
}
}