CameraTools/GroupTools bugfixing and sprite scale support
This commit is contained in:
@@ -19,12 +19,11 @@ class Main extends Sprite
|
||||
};
|
||||
function reloadModel(_) {
|
||||
if (t.draggingSprite == null) {
|
||||
// TODO don't change camera position and zoom when this happens:
|
||||
t.setModel(new HabitModel(habitFile));
|
||||
t.refreshModel(new HabitModel(habitFile));
|
||||
t.model.save();
|
||||
}
|
||||
}
|
||||
reloadModel(null);
|
||||
t.setModel(new HabitModel(habitFile));
|
||||
new FlxTimer().start(30, reloadModel, 0);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user