decouple map and event edit modes

This commit is contained in:
garakmon
2020-05-17 21:25:28 -04:00
committed by huderlem
parent 9f5b13c287
commit 4ee22fa06a
4 changed files with 50 additions and 22 deletions

View File

@@ -130,7 +130,8 @@ public:
QList<DraggablePixmapItem*> *events = nullptr;
QList<DraggablePixmapItem*> *selected_events = nullptr;
QString map_edit_mode;
QString map_edit_mode = "paint";
QString obj_edit_mode = "select";
int scale_exp = 0;
double scale_base = sqrt(2); // adjust scale factor with this