Skip to content
Snippets Groups Projects
Commit 4460d990 authored by Tobias Pietzsch's avatar Tobias Pietzsch
Browse files

Simplify ManualTransformationEditor.toggle()

parent c8108b74
Branches
Tags
No related merge requests found
...@@ -217,14 +217,7 @@ public class ManualTransformationEditor implements TransformListener< AffineTran ...@@ -217,14 +217,7 @@ public class ManualTransformationEditor implements TransformListener< AffineTran
public synchronized void toggle() public synchronized void toggle()
{ {
if ( !active ) setActive( !active );
{ // Enter manual edit mode
setActive( true );
}
else
{ // Exit manual edit mode.
setActive( false );
}
} }
@Override @Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment