Fix tile mask compass grid alignment
- Correct 3x3 helper layout so N/NE/E/SE/S/SW/W/NW positions match their actual compass locations - Keep existing clockwise bit order logic unchanged (N, NE, E, SE, S, SW, W, NW) now that UI layout is aligned
This commit is contained in:
@@ -139,15 +139,15 @@
|
||||
Bit order is N then clockwise (N, NE, E, SE, S, SW, W, NW).
|
||||
</p>
|
||||
<div id="maskGrid" class="grid grid-cols-3 gap-1 w-36">
|
||||
<button type="button" class="mask-cell" data-dir="nw">NW</button>
|
||||
<button type="button" class="mask-cell" data-dir="n">N</button>
|
||||
<button type="button" class="mask-cell" data-dir="ne">NE</button>
|
||||
<button type="button" class="mask-cell" data-dir="e">E</button>
|
||||
<button type="button" class="mask-cell" data-dir="nw">NW</button>
|
||||
<div class="mask-center">Tile</div>
|
||||
<button type="button" class="mask-cell" data-dir="se">SE</button>
|
||||
<button type="button" class="mask-cell" data-dir="w">W</button>
|
||||
<div class="mask-center">Tile</div>
|
||||
<button type="button" class="mask-cell" data-dir="e">E</button>
|
||||
<button type="button" class="mask-cell" data-dir="sw">SW</button>
|
||||
<button type="button" class="mask-cell" data-dir="s">S</button>
|
||||
<button type="button" class="mask-cell" data-dir="se">SE</button>
|
||||
</div>
|
||||
<div class="text-xs text-gray-400 space-y-1">
|
||||
<div>8-bit: <span id="maskCode8" class="text-cyan-300">00000000 (0)</span></div>
|
||||
|
||||
Reference in New Issue
Block a user