diff options
Diffstat (limited to 'editor/tile-editor.cpp')
| -rw-r--r-- | editor/tile-editor.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/tile-editor.cpp b/editor/tile-editor.cpp index d944f47f..d5743220 100644 --- a/editor/tile-editor.cpp +++ b/editor/tile-editor.cpp @@ -93,6 +93,11 @@ bool tile_editor::is_atlas_selected(const std::shared_ptr<const tile_atlas>& atl } } +bool tile_editor::is_anything_selected() const +{ + return _selection_mode != sel_none; +} + template<std::random_access_iterator T> void fisher_yates(T begin, T end) { |
