diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-11 02:19:12 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-11 02:19:12 +0100 |
| commit | eaa6c76bd92e292ac59dcfa0a7aa70cd1e2f50fb (patch) | |
| tree | 5110a6fe2fb70e7fbd66db70a37287c00ccf4fda /editor/tile-editor.cpp | |
| parent | 067a3f3ae0c1ab94ace005897673a484e165b31b (diff) | |
w
Diffstat (limited to 'editor/tile-editor.cpp')
| -rw-r--r-- | editor/tile-editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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_atlas> 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() { |
