diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-01 17:34:31 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-01 17:34:31 +0100 |
commit | a8bfe471a46659b3050db1d4ad174b8e6b5cc4de (patch) | |
tree | e9daec5926a0e91a15f682ff9f2434acca9464ce /editor | |
parent | 4eb3a81342372463770d150c459565a7ab379ae5 (diff) |
editor startup defaults
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
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::shared_ptr<tile_atlas>, std::vector<decltype(tile_image_proto::variant)>> _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<drag_pos> _last_pos; - editor_mode _mode = editor_mode::none; + editor_mode _mode = editor_mode::floor; bool _dirty = false; }; |