mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-19 20:09:43 +02:00
fix popout scopes issues
This commit is contained in:
@@ -145,6 +145,15 @@ export function clampDraggedMainWindowBounds(
|
||||
return clampBoundsWithVisibleMargin(actualBounds, envelope, visibleMargin)
|
||||
}
|
||||
|
||||
export function clampRestoredWindowBounds(
|
||||
bounds: WindowBounds,
|
||||
workAreas: readonly WorkAreaBounds[],
|
||||
visibleMargin: number,
|
||||
): WindowBounds {
|
||||
const envelope = buildDisplayEnvelope(bounds, bounds, workAreas)
|
||||
return clampBoundsWithVisibleMargin(bounds, envelope, visibleMargin)
|
||||
}
|
||||
|
||||
export function raiseWindowAboveNormalPopouts(
|
||||
mainWindow: StackableWindowLike | null,
|
||||
popouts: Iterable<StackableWindowLike>,
|
||||
|
||||
Reference in New Issue
Block a user