fix(gui): proper splitter placement for persona and bias panels
- Persona editor: splitter shown when BOTH models and prompt open (not just prompt) - Bias profiles: move splitter OUTSIDE btool_scroll child, between both sections - Fixed nesting issues causing EndTable/EndChild errors
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[ai]
|
[ai]
|
||||||
provider = "minimax"
|
provider = "minimax"
|
||||||
model = "MiniMax-M2.5"
|
model = "MiniMax-M2.7"
|
||||||
temperature = 0.0
|
temperature = 0.0
|
||||||
top_p = 1.0
|
top_p = 1.0
|
||||||
max_tokens = 32000
|
max_tokens = 32000
|
||||||
|
|||||||
+34
-32
@@ -75,7 +75,7 @@ DockId=0xAFC85805,2
|
|||||||
|
|
||||||
[Window][Theme]
|
[Window][Theme]
|
||||||
Pos=0,28
|
Pos=0,28
|
||||||
Size=1010,1172
|
Size=884,1697
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000005,3
|
DockId=0x00000005,3
|
||||||
|
|
||||||
@@ -102,26 +102,26 @@ Collapsed=0
|
|||||||
DockId=0x0000000D,0
|
DockId=0x0000000D,0
|
||||||
|
|
||||||
[Window][Discussion Hub]
|
[Window][Discussion Hub]
|
||||||
Pos=1012,28
|
Pos=886,28
|
||||||
Size=668,1172
|
Size=1368,1697
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000006,0
|
DockId=0x00000006,0
|
||||||
|
|
||||||
[Window][Operations Hub]
|
[Window][Operations Hub]
|
||||||
Pos=0,28
|
Pos=0,28
|
||||||
Size=1010,1172
|
Size=884,1697
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000005,2
|
DockId=0x00000005,2
|
||||||
|
|
||||||
[Window][Files & Media]
|
[Window][Files & Media]
|
||||||
Pos=1012,28
|
Pos=886,28
|
||||||
Size=668,1172
|
Size=1368,1697
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000006,1
|
DockId=0x00000006,1
|
||||||
|
|
||||||
[Window][AI Settings]
|
[Window][AI Settings]
|
||||||
Pos=0,28
|
Pos=0,28
|
||||||
Size=1010,1172
|
Size=884,1697
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000005,0
|
DockId=0x00000005,0
|
||||||
|
|
||||||
@@ -137,10 +137,10 @@ Collapsed=0
|
|||||||
DockId=0x00000006,2
|
DockId=0x00000006,2
|
||||||
|
|
||||||
[Window][Log Management]
|
[Window][Log Management]
|
||||||
Pos=1012,28
|
Pos=886,28
|
||||||
Size=668,1172
|
Size=1368,1697
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000006,3
|
DockId=0x00000006,2
|
||||||
|
|
||||||
[Window][Track Proposal]
|
[Window][Track Proposal]
|
||||||
Pos=709,326
|
Pos=709,326
|
||||||
@@ -329,19 +329,19 @@ Size=967,499
|
|||||||
Collapsed=0
|
Collapsed=0
|
||||||
|
|
||||||
[Window][Usage Analytics]
|
[Window][Usage Analytics]
|
||||||
Pos=518,24
|
Pos=2256,28
|
||||||
Size=1162,1176
|
Size=460,383
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x0000000F,0
|
DockId=0x00000001,0
|
||||||
|
|
||||||
[Window][Tool Preset Manager]
|
[Window][Tool Preset Manager]
|
||||||
Pos=110,83
|
Pos=515,112
|
||||||
Size=1469,1267
|
Size=1586,1451
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
|
|
||||||
[Window][Persona Editor]
|
[Window][Persona Editor]
|
||||||
Pos=332,138
|
Pos=332,138
|
||||||
Size=1886,1234
|
Size=1904,1412
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
|
|
||||||
[Window][Prompt Presets Manager]
|
[Window][Prompt Presets Manager]
|
||||||
@@ -407,15 +407,15 @@ DockId=0x00000006,1
|
|||||||
|
|
||||||
[Window][Project Settings]
|
[Window][Project Settings]
|
||||||
Pos=0,28
|
Pos=0,28
|
||||||
Size=1010,1172
|
Size=884,1697
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000005,1
|
DockId=0x00000005,1
|
||||||
|
|
||||||
[Window][Undo/Redo History]
|
[Window][Undo/Redo History]
|
||||||
Pos=1168,24
|
Pos=2256,413
|
||||||
Size=1593,1564
|
Size=460,1312
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000006,4
|
DockId=0x00000002,0
|
||||||
|
|
||||||
[Window][Text Viewer - ts_cpp_get_skeleton]
|
[Window][Text Viewer - ts_cpp_get_skeleton]
|
||||||
Pos=60,58
|
Pos=60,58
|
||||||
@@ -522,8 +522,8 @@ Column 1 Width=150
|
|||||||
Column 2 Weight=1.0000
|
Column 2 Weight=1.0000
|
||||||
|
|
||||||
[Table][0xD0277E63,2]
|
[Table][0xD0277E63,2]
|
||||||
RefScale=16
|
RefScale=20
|
||||||
Column 0 Width=132
|
Column 0 Width=165
|
||||||
Column 1 Weight=1.0000
|
Column 1 Weight=1.0000
|
||||||
|
|
||||||
[Table][0x3AAF84D5,2]
|
[Table][0x3AAF84D5,2]
|
||||||
@@ -532,13 +532,13 @@ Column 0 Width=150
|
|||||||
Column 1 Weight=1.0000
|
Column 1 Weight=1.0000
|
||||||
|
|
||||||
[Table][0x8D8494AB,2]
|
[Table][0x8D8494AB,2]
|
||||||
RefScale=16
|
RefScale=20
|
||||||
Column 0 Width=131
|
Column 0 Width=163
|
||||||
Column 1 Weight=1.0000
|
Column 1 Weight=1.0000
|
||||||
|
|
||||||
[Table][0x2C261E6E,2]
|
[Table][0x2C261E6E,2]
|
||||||
RefScale=16
|
RefScale=20
|
||||||
Column 0 Width=98
|
Column 0 Width=163
|
||||||
Column 1 Weight=1.0000
|
Column 1 Weight=1.0000
|
||||||
|
|
||||||
[Table][0x9CB1E6FD,2]
|
[Table][0x9CB1E6FD,2]
|
||||||
@@ -561,17 +561,19 @@ Column 2 Width=187
|
|||||||
DockNode ID=0x00000008 Pos=3125,170 Size=593,1157 Split=Y
|
DockNode ID=0x00000008 Pos=3125,170 Size=593,1157 Split=Y
|
||||||
DockNode ID=0x00000009 Parent=0x00000008 SizeRef=1029,147 Selected=0x0469CA7A
|
DockNode ID=0x00000009 Parent=0x00000008 SizeRef=1029,147 Selected=0x0469CA7A
|
||||||
DockNode ID=0x0000000A Parent=0x00000008 SizeRef=1029,145 Selected=0xDF822E02
|
DockNode ID=0x0000000A Parent=0x00000008 SizeRef=1029,145 Selected=0xDF822E02
|
||||||
DockSpace ID=0xAFC85805 Window=0x079D3A04 Pos=0,28 Size=1680,1172 Split=X
|
DockSpace ID=0xAFC85805 Window=0x079D3A04 Pos=0,28 Size=2716,1697 Split=X
|
||||||
DockNode ID=0x00000003 Parent=0xAFC85805 SizeRef=2175,1183 Split=X
|
DockNode ID=0x00000003 Parent=0xAFC85805 SizeRef=2254,1183 Split=X
|
||||||
DockNode ID=0x0000000B Parent=0x00000003 SizeRef=404,1186 Split=X Selected=0xF4139CA2
|
DockNode ID=0x0000000B Parent=0x00000003 SizeRef=404,1186 Split=X Selected=0xF4139CA2
|
||||||
DockNode ID=0x00000007 Parent=0x0000000B SizeRef=1512,858 Split=X Selected=0x8CA2375C
|
DockNode ID=0x00000007 Parent=0x0000000B SizeRef=1512,858 Split=X Selected=0x8CA2375C
|
||||||
DockNode ID=0x00000005 Parent=0x00000007 SizeRef=1010,1681 CentralNode=1 Selected=0x418C7449
|
DockNode ID=0x00000005 Parent=0x00000007 SizeRef=884,1681 CentralNode=1 Selected=0x418C7449
|
||||||
DockNode ID=0x00000006 Parent=0x00000007 SizeRef=668,1681 Selected=0x2C0206CE
|
DockNode ID=0x00000006 Parent=0x00000007 SizeRef=1368,1681 Selected=0x6F2B5B04
|
||||||
DockNode ID=0x0000000E Parent=0x0000000B SizeRef=1777,858 Selected=0x418C7449
|
DockNode ID=0x0000000E Parent=0x0000000B SizeRef=1777,858 Selected=0x418C7449
|
||||||
DockNode ID=0x0000000D Parent=0x00000003 SizeRef=435,1186 Selected=0x363E93D6
|
DockNode ID=0x0000000D Parent=0x00000003 SizeRef=435,1186 Selected=0x363E93D6
|
||||||
DockNode ID=0x00000004 Parent=0xAFC85805 SizeRef=1162,1183 Split=X Selected=0x3AEC3498
|
DockNode ID=0x00000004 Parent=0xAFC85805 SizeRef=460,1183 Split=X Selected=0x3AEC3498
|
||||||
DockNode ID=0x0000000C Parent=0x00000004 SizeRef=916,380 Selected=0x655BC6E9
|
DockNode ID=0x0000000C Parent=0x00000004 SizeRef=916,380 Selected=0x655BC6E9
|
||||||
DockNode ID=0x0000000F Parent=0x00000004 SizeRef=281,380 Selected=0xDEB547B6
|
DockNode ID=0x0000000F Parent=0x00000004 SizeRef=281,380 Split=Y Selected=0xDEB547B6
|
||||||
|
DockNode ID=0x00000001 Parent=0x0000000F SizeRef=460,383 Selected=0xDEB547B6
|
||||||
|
DockNode ID=0x00000002 Parent=0x0000000F SizeRef=460,1312 Selected=0xEFE478AD
|
||||||
|
|
||||||
;;;<<<Layout_655921752_Default>>>;;;
|
;;;<<<Layout_655921752_Default>>>;;;
|
||||||
;;;<<<HelloImGui_Misc>>>;;;
|
;;;<<<HelloImGui_Misc>>>;;;
|
||||||
|
|||||||
+4
-4
@@ -1855,9 +1855,9 @@ class App:
|
|||||||
imgui.end_table()
|
imgui.end_table()
|
||||||
imgui.tree_pop()
|
imgui.tree_pop()
|
||||||
imgui.end_child()
|
imgui.end_child()
|
||||||
if self._bias_cats_open:
|
if self._bias_cats_open:
|
||||||
imgui.button("###bias_splitter", imgui.ImVec2(-1, 4))
|
imgui.button("###bias_splitter", imgui.ImVec2(-1, 4))
|
||||||
if imgui.is_item_active(): self._bias_split_v = max(0.1, min(0.9, self._bias_split_v + imgui.get_io().mouse_delta.y / rem_bias_y))
|
if imgui.is_item_active(): self._bias_split_v = max(0.1, min(0.9, self._bias_split_v + imgui.get_io().mouse_delta.y / rem_bias_y))
|
||||||
|
|
||||||
opened_bc = imgui.collapsing_header("Category Multipliers", imgui.TreeNodeFlags_.default_open)
|
opened_bc = imgui.collapsing_header("Category Multipliers", imgui.TreeNodeFlags_.default_open)
|
||||||
if opened_bc != self._bias_cats_open: self._bias_cats_open = opened_bc
|
if opened_bc != self._bias_cats_open: self._bias_cats_open = opened_bc
|
||||||
@@ -2007,7 +2007,7 @@ class App:
|
|||||||
imgui.pop_id()
|
imgui.pop_id()
|
||||||
for i in reversed(to_remove): self._editing_persona_preferred_models_list.pop(i)
|
for i in reversed(to_remove): self._editing_persona_preferred_models_list.pop(i)
|
||||||
imgui.end_child()
|
imgui.end_child()
|
||||||
if self._persona_prompt_open:
|
if self._persona_models_open and self._persona_prompt_open:
|
||||||
imgui.button("###persona_splitter", imgui.ImVec2(-1, 4))
|
imgui.button("###persona_splitter", imgui.ImVec2(-1, 4))
|
||||||
if imgui.is_item_active(): self._persona_split_v = max(0.1, min(0.9, self._persona_split_v + imgui.get_io().mouse_delta.y / rem_y))
|
if imgui.is_item_active(): self._persona_split_v = max(0.1, min(0.9, self._persona_split_v + imgui.get_io().mouse_delta.y / rem_y))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user