From eaa6c76bd92e292ac59dcfa0a7aa70cd1e2f50fb Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 11 Dec 2023 02:19:12 +0100 Subject: w --- editor/tile-editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editor/tile-editor.cpp') diff --git a/editor/tile-editor.cpp b/editor/tile-editor.cpp index e8e4eb7a..6bca50f3 100644 --- a/editor/tile-editor.cpp +++ b/editor/tile-editor.cpp @@ -10,7 +10,7 @@ namespace floormat { -tile_editor::tile_editor(StringView name) : _name{name} +tile_editor::tile_editor() { load_atlases(); } @@ -50,7 +50,7 @@ std::shared_ptr tile_editor::atlas(StringView str) fm_throw("no such atlas: {}"_cf, str); } -StringView tile_editor::name() const noexcept { return _name; } +StringView tile_editor::name() const noexcept { return "floor"_s; } void tile_editor::clear_selection() { -- cgit v1.2.3