mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Rotate cw when using free rotation button to be consistent with icon. #1171
This commit is contained in:
@@ -425,6 +425,7 @@ sub rotate {
|
||||
if (!defined $angle) {
|
||||
$angle = Wx::GetNumberFromUser("", "Enter the rotation angle:", "Rotate", $object->rotate, -364, 364, $self);
|
||||
return if !$angle || $angle == -1;
|
||||
$angle = 0 - $angle; # rotate clockwise (be consistent with button icon)
|
||||
}
|
||||
|
||||
$object->rotate($object->rotate + $angle);
|
||||
|
||||
Reference in New Issue
Block a user