fix: make builder-splitter state key position-aware

The builder/select mode was still using a single 'builder-splitter' key
regardless of sidebar location, which could cause the same shared width
issue when switching sides in builder mode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
dante01yoon
2026-03-07 20:41:54 +09:00
parent 05e1ce7e72
commit 48957b1e83

View File

@@ -18,7 +18,9 @@
<Splitter
:key="splitterRefreshKey"
class="pointer-events-none flex-1 overflow-hidden border-none bg-transparent"
:state-key="isSelectMode ? 'builder-splitter' : sidebarStateKey"
:state-key="
isSelectMode ? `builder-splitter-${sidebarLocation}` : sidebarStateKey
"
state-storage="local"
@resizestart="onResizestart"
>