From a8bfe471a46659b3050db1d4ad174b8e6b5cc4de Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 1 Nov 2022 17:34:31 +0100 Subject: editor startup defaults --- editor/editor.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'editor') diff --git a/editor/editor.hpp b/editor/editor.hpp index dda13567..5bf84803 100644 --- a/editor/editor.hpp +++ b/editor/editor.hpp @@ -38,7 +38,7 @@ private: std::tuple, std::vector> _permutation; selection_mode _selection_mode = sel_none; editor_mode _mode; - editor_wall_rotation _rotation = editor_wall_rotation::W; + editor_wall_rotation _rotation = editor_wall_rotation::N; void load_atlases(); tile_image_proto get_selected_perm(); @@ -48,7 +48,6 @@ public: none = 0, horizontal = 1 << 0, vertical = 1 << 1, - both = horizontal | vertical, }; tile_editor(editor_mode mode, StringView name); @@ -112,7 +111,7 @@ private: button btn; }; std::optional _last_pos; - editor_mode _mode = editor_mode::none; + editor_mode _mode = editor_mode::floor; bool _dirty = false; }; -- cgit v1.2.3