Pcbnew: correct CW/CCW rotation.
These were backwards since internal angles are CCW due to the inverted Y axis. The hotkeys have NOT changed. This means 'R' is now clockwise and 'Shift+R' is anti-clockwise. This is the same as EEschema, but not the same as Legacy mode.
This commit is contained in:
parent
e8b811bab7
commit
0b593faa93
|
@ -113,12 +113,12 @@ TOOL_ACTION PCB_ACTIONS::createArray( "pcbnew.InteractiveEdit.createArray",
|
|||
TOOL_ACTION PCB_ACTIONS::rotateCw( "pcbnew.InteractiveEdit.rotateCw",
|
||||
AS_GLOBAL, TOOL_ACTION::LegacyHotKey( HK_ROTATE_ITEM ),
|
||||
_( "Rotate Clockwise" ), _( "Rotates selected item(s) clockwise" ),
|
||||
rotate_cw_xpm, AF_NONE, (void*) 1 );
|
||||
rotate_cw_xpm, AF_NONE, (void*) -1 );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::rotateCcw( "pcbnew.InteractiveEdit.rotateCcw",
|
||||
AS_GLOBAL, MD_SHIFT + 'R',
|
||||
_( "Rotate Counter-clockwise" ), _( "Rotates selected item(s) counter-clockwise" ),
|
||||
rotate_ccw_xpm, AF_NONE, (void*) -1 );
|
||||
rotate_ccw_xpm, AF_NONE, (void*) 1 );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::flip( "pcbnew.InteractiveEdit.flip",
|
||||
AS_GLOBAL, TOOL_ACTION::LegacyHotKey( HK_FLIP_ITEM ),
|
||||
|
|
Loading…
Reference in New Issue