mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
Moved size constants to a reasonable spot...
This commit is contained in:
committed by
psychedelicious
parent
5db62f8643
commit
f0a4de245d
@@ -13,10 +13,6 @@ const getIsCollapsed = (
|
||||
return panel.width <= (collapsedSize ?? panel.minimumWidth);
|
||||
};
|
||||
|
||||
// More realistic limits based on typical browser memory constraints
|
||||
const MAX_CANVAS_DIMENSION = 8192; // 8K resolution
|
||||
const MAX_CANVAS_AREA = 8192 * 8192; // ~64MP max
|
||||
|
||||
export const useCollapsibleGridviewPanel = (
|
||||
api: GridviewApi | null,
|
||||
panelId: string,
|
||||
|
||||
Reference in New Issue
Block a user