This commit is contained in:
2026-07-14 23:48:50 -05:00
parent 03185c9c68
commit 5146cc9bcc
25 changed files with 380 additions and 272 deletions
+3 -3
View File
@@ -20,7 +20,7 @@ use kiln_core::game::GameState;
use kiln_core::glyph::Glyph;
use kiln_core::log::LogLine;
use kiln_core::world::World;
use kiln_core::{Archetype, Board};
use kiln_core::{Archetype, Board, Builtin};
use kiln_ui::code_editor::{CodeEditor, CodeEditorOutcome};
use kiln_ui::dialog::{Dialog, DialogResult, ListDialogResponse};
use ratatui::Frame;
@@ -112,8 +112,8 @@ impl EditorState {
code_editor: None,
glyph_dialog: None,
cursor,
current_archetype: Archetype::Wall,
current_glyph: Archetype::Wall.default_glyph(),
current_archetype: Archetype::Builtin(Builtin::Wall, "wall"),
current_glyph: Builtin::Wall.default_glyph_for("wall"),
draw_mode: false,
sidebar_width: DEFAULT_SIDEBAR_WIDTH,
blink_on: true,