gh-14720: Fix space switching on dnd in customize mode (gh-14719)

This commit is contained in:
Ashvin Jangid
2026-07-26 14:47:30 +05:30
committed by GitHub
parent 768f45e265
commit 2a4eb08c00

View File

@@ -654,6 +654,10 @@
}
#shouldSwitchSpace(event) {
if (document.documentElement.hasAttribute("customizing")) {
return { isNearLeftEdge: false, isNearRightEdge: false };
}
const padding = Services.prefs.getIntPref(
"zen.workspaces.dnd-switch-padding"
);