disallow/undo rotation at low zooms and near world edge

This commit is contained in:
Justin R. Miller
2014-05-23 18:24:58 -07:00
parent 07e15927af
commit 3c5a2c7935
6 changed files with 70 additions and 10 deletions

View File

@@ -115,13 +115,20 @@ float TransformState::getAngle() const {
}
#pragma mark - Rotation
#pragma mark - Changing
bool TransformState::isChanging() const {
return rotating || scaling || panning;
}
#pragma mark - Interactive
bool TransformState::isInteractive() const {
return interactive;
}
#pragma mark - (private helper functions)