fix(windowDrag): disable duplicate top-edge fullscreen snap (#3495)
windowDrag.js ran its own top-edge fullscreen system (cy <= SNAP_PX → _enterFs()) independently of the tileManager.js snap zones, causing duplicate/unexpected fullscreen behavior when dragging window chips toward the top of the screen. Hardcode enableFullscreen to false. tileManager.js remains the single source of truth for fullscreen/maximize snap behavior and is untouched.
This commit is contained in:
parent
1aa5ffb57c
commit
4ccb7c4890
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ export function makeWindowDraggable(modal, options = {}) {
|
|||
const fsClass = options.fsClass || null;
|
||||
const onEnterFullscreen = options.onEnterFullscreen || null;
|
||||
const onExitFullscreen = options.onExitFullscreen || null;
|
||||
const enableFullscreen = options.enableFullscreen !== false && !!onEnterFullscreen;
|
||||
const enableFullscreen = false;
|
||||
const onDragEnd = options.onDragEnd || null;
|
||||
const onDragStart = options.onDragStart || null;
|
||||
const skipSelector = options.skipSelector || 'button, input, select';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue