Skip to content

Commit fbbc409

Browse files
author
DavidQ
committed
Implemented.
- `hud*` objects are now excluded from flatten selection: - Checkbox is disabled + grayed out. - Checkbox clicks/changes are blocked by `disabled`. - Flatten selection filtering ignores `hud*` keys even if stale state exists. - [main.js](C:/Users/davidq/Documents/GitHub/HTML-JavaScript-Gaming/tools/Skin%20Editor/main.js:139) - [main.js](C:/Users/davidq/Documents/GitHub/HTML-JavaScript-Gaming/tools/Skin%20Editor/main.js:844) - [skinEditor.css](C:/Users/davidq/Documents/GitHub/HTML-JavaScript-Gaming/tools/Skin%20Editor/skinEditor.css:98) - `Move Up/Down` row is now centered with bottom spacing: - [skinEditor.css](C:/Users/davidq/Documents/GitHub/HTML-JavaScript-Gaming/tools/Skin%20Editor/skinEditor.css:78) Validation: - `node --check tools/Skin Editor/main.js` passed. Commit comment for the last 5 changes: `skin-editor: improve flatten workflow and layering UX (palette hex labels, remove preview footer text, accurate pre/post flatten rendering, object order controls with layering-aware flatten, and disable hud* from flatten selection)`
1 parent ff10ebc commit fbbc409

3 files changed

Lines changed: 266 additions & 173 deletions

File tree

tools/Skin Editor/index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
<span id="skinEditorContextSource" class="skin-editor-chip">Source: n/a</span>
4343
</div>
4444
<section class="skin-editor-section skin-editor-section--shape-add">
45-
<h4>Object Shape/Type</h4>
45+
<h4>Object</h4>
4646
<div class="skin-editor-shape-add-row">
47-
<label for="skinEditorNewShapeType">Object Shape/Type</label>
47+
<label for="skinEditorNewShapeType">Shape/Type</label>
4848
<select id="skinEditorNewShapeType" class="skin-editor-field">
4949
<option value="circle">Circle</option>
5050
<option value="oval">Oval</option>
@@ -76,6 +76,10 @@ <h4>Object Shape/Type</h4>
7676
</section>
7777
<h3>Objects</h3>
7878
<div id="skinEditorObjectList" class="skin-editor-object-list" role="listbox" aria-label="Skin objects"></div>
79+
<div class="debug-tool-actions skin-editor-object-order-actions">
80+
<button type="button" id="skinEditorMoveObjectUpButton" class="debug-tool-control">Move Up</button>
81+
<button type="button" id="skinEditorMoveObjectDownButton" class="debug-tool-control">Move Down</button>
82+
</div>
7983
</aside>
8084

8185
<section class="panel debug-tool-panel skin-editor-canvas-panel">

0 commit comments

Comments
 (0)