Skip to content

Commit be0eb95

Browse files
committed
Simplified comments
1 parent b6001aa commit be0eb95

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

wasm/code-maker/index.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
<body class="h-full page">
5959
<div id="app-root" class="flex flex-col h-full min-h-0">
60-
<!-- FULL-WIDTH TOOLBAR (spans from left edge to right edge) -->
60+
<!-- Toolbar -->
6161
<div class="toolbar">
6262
<div class="flex items-baseline gap-2 min-w-0">
6363
<div class="tool-title">Pyxel Code Maker</div>
@@ -68,9 +68,9 @@
6868
>, a retro game engine for Python.
6969
</div>
7070
</div>
71-
<!-- Control groups wrapper (takes remaining horizontal space, right-aligned) -->
71+
<!-- Controls -->
7272
<div class="flex flex-1 justify-start items-center mt-0.5 min-w-0">
73-
<!-- Left group: Load / Save -->
73+
<!-- Load / Save -->
7474
<div class="flex items-center gap-2">
7575
<button
7676
id="load-button"
@@ -89,7 +89,7 @@
8989
Save
9090
</button>
9191
</div>
92-
<!-- Center group: Code / Res (no explicit center) -->
92+
<!-- Code / Res toggle -->
9393
<div class="flex items-center px-4">
9494
<div class="seg" role="group">
9595
<button
@@ -114,7 +114,7 @@
114114
</button>
115115
</div>
116116
</div>
117-
<!-- Right group: Run -->
117+
<!-- Run -->
118118
<div class="flex items-center gap-2">
119119
<button
120120
id="run-button"
@@ -129,20 +129,20 @@
129129
</div>
130130
</div>
131131

132-
<!-- CONTENT AREA BELOW TOOLBAR: LEFT/RIGHT SPLIT -->
132+
<!-- Main content -->
133133
<div id="main-splitter" class="flex flex-1 min-h-0">
134-
<!-- LEFT SIDE (editor/resource panes only) -->
134+
<!-- Left pane -->
135135
<div
136136
id="left-pane"
137137
class="flex flex-col min-h-0"
138138
style="width: 50%; min-width: 200px; max-width: 80%"
139139
>
140-
<!-- Code pane -->
140+
<!-- Code editor -->
141141
<div id="code-pane" class="flex flex-1 min-h-0">
142142
<div id="code-editor" class="w-full h-full"></div>
143143
</div>
144144

145-
<!-- Resource pane -->
145+
<!-- Resource editor -->
146146
<div id="resource-pane" class="hidden flex flex-1 min-h-0">
147147
<iframe
148148
id="resource-editor"
@@ -154,7 +154,7 @@
154154
</div>
155155
</div>
156156

157-
<!-- Divider: draggable vertical bar (thicker, no gap) -->
157+
<!-- Splitter -->
158158
<div
159159
id="splitter-handle"
160160
class="z-50 relative w-3 cursor-col-resize select-none"
@@ -168,7 +168,7 @@
168168
title="Drag to resize"
169169
></div>
170170

171-
<!-- RIGHT SIDE (preview only) -->
171+
<!-- Right pane -->
172172
<div
173173
class="flex flex-col flex-1 min-h-0"
174174
style="background-color: var(--pyxel-background-color)"

0 commit comments

Comments
 (0)