disallow/undo rotation at low zooms and near world edge
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user