Rotate cw when using free rotation button to be consistent with icon. #1171
This commit is contained in:
parent
aee7b70d79
commit
5dcf277563
@ -425,6 +425,7 @@ sub rotate {
|
|||||||
if (!defined $angle) {
|
if (!defined $angle) {
|
||||||
$angle = Wx::GetNumberFromUser("", "Enter the rotation angle:", "Rotate", $object->rotate, -364, 364, $self);
|
$angle = Wx::GetNumberFromUser("", "Enter the rotation angle:", "Rotate", $object->rotate, -364, 364, $self);
|
||||||
return if !$angle || $angle == -1;
|
return if !$angle || $angle == -1;
|
||||||
|
$angle = 0 - $angle; # rotate clockwise (be consistent with button icon)
|
||||||
}
|
}
|
||||||
|
|
||||||
$object->rotate($object->rotate + $angle);
|
$object->rotate($object->rotate + $angle);
|
||||||
|
Loading…
Reference in New Issue
Block a user