We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 895cb86 commit e16b558Copy full SHA for e16b558
invokeai/frontend/web/src/features/ui/hooks/usePanel.ts
@@ -129,7 +129,7 @@ export const usePanel = (arg: UsePanelOptions): UsePanelReturn => {
129
130
// If currentSize is 0, the panel is collapsed, so we don't want to resize it
131
// If it's not 0, but less than the minSize, resize it
132
- if (currentSize && currentSize < minSizePct) {
+ if (currentSize > 0 && currentSize < minSizePct) {
133
panelHandleRef.current.resize(minSizePct);
134
}
135
});
0 commit comments