The active tilemap layer can be renamed from the painting section, and a Show setting fades or hides the other layers in the scene view while the tilemap is selected (#138)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bfbcbe604c
commit
f53279d065
10 files changed
+248
-13
No files matched your search
@@ -571,6 +571,15 @@ export function installDebugHook(app: Application, state: EditorState, editor: E
|
||||
const button = currentTilemapSection()?.addLayer;
|
||||
return button ? centreOf(button) : null;
|
||||
},
|
||||
/** The name field of the painted layer and the Show dropdown, with what they hold (#138). */
|
||||
layerNameAt: () => {
|
||||
const field = currentTilemapSection()?.layerName;
|
||||
return field ? { ...centreOf(field), value: field.value } : null;
|
||||
},
|
||||
focusAt: () => {
|
||||
const button = currentTilemapSection()?.focus;
|
||||
return button ? { ...centreOf(button), label: button.text } : null;
|
||||
},
|
||||
/** One row of the layer list, top-down as drawn: the layer, its switch and its buttons. */
|
||||
layerRowAt: (index: number) => {
|
||||
const row = currentTilemapSection()?.layers[index];
|
||||
|
||||
Reference in new issue
Block a user