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 mr. m
parent 7b8582bbd7
commit b69b5c3cb7

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"
);