View menu — panel visibility toggles for all 5 panels

Each panel (Stage Editor, Scene Hierarchy, Viewport, Property Panel,
Timeline) now has a checkable menu item under View. Closing a panel via
its X button also unchecks the entry. Stage Info and Demo Window follow
below a separator.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-15 22:39:50 +08:00
parent 7f0fa6a944
commit e5d7967455
5 changed files with 121 additions and 27 deletions
+38 -9
View File
@@ -1,6 +1,6 @@
[Window][WindowOverViewport_11111111]
Pos=0,19
Size=1264,662
Pos=0,22
Size=1920,1093
Collapsed=0
[Window][Debug##Default]
@@ -9,9 +9,10 @@ Size=400,400
Collapsed=0
[Window][Scene Hierarchy]
Pos=60,60
Size=290,65
Pos=0,22
Size=296,655
Collapsed=0
DockId=0x00000001,0
[Window][Layer Panel]
Pos=60,60
@@ -19,15 +20,43 @@ Size=121,48
Collapsed=0
[Window][Viewport]
Pos=60,60
Size=797,60
Pos=298,22
Size=1499,1003
Collapsed=0
DockId=0x00000007,0
[Window][Property Panel]
Pos=60,60
Size=121,48
Pos=1799,22
Size=121,1093
Collapsed=0
DockId=0x00000006,0
[Window][Stage Info]
Pos=0,22
Size=296,655
Collapsed=0
DockId=0x00000001,1
[Window][Stage Editor]
Pos=0,679
Size=296,436
Collapsed=0
DockId=0x00000002,0
[Window][Timeline]
Pos=298,1027
Size=1499,88
Collapsed=0
DockId=0x00000008,0
[Docking][Data]
DockSpace ID=0x08BD597D Window=0x1BBC0F80 Pos=0,19 Size=1264,662 CentralNode=1
DockSpace ID=0x08BD597D Window=0x1BBC0F80 Pos=0,22 Size=1920,1093 Split=X
DockNode ID=0x00000005 Parent=0x08BD597D SizeRef=1141,637 Split=X
DockNode ID=0x00000003 Parent=0x00000005 SizeRef=296,637 Split=Y Selected=0xB8729153
DockNode ID=0x00000001 Parent=0x00000003 SizeRef=289,381 Selected=0xB8729153
DockNode ID=0x00000002 Parent=0x00000003 SizeRef=289,254 Selected=0xBE78FE5F
DockNode ID=0x00000004 Parent=0x00000005 SizeRef=1499,637 Split=Y Selected=0xC450F867
DockNode ID=0x00000007 Parent=0x00000004 SizeRef=850,547 CentralNode=1 Selected=0xC450F867
DockNode ID=0x00000008 Parent=0x00000004 SizeRef=850,88 Selected=0x4F89F0DC
DockNode ID=0x00000006 Parent=0x08BD597D SizeRef=121,637 Selected=0xFA2314A6