Improve resizing in flameshot (#2931)
* Allow symmetrical resizing using arrow keys when pressing ctrl * Add feature to preserve aspect ratio while resizing selection window * Format according to clang-format
This commit is contained in:
@@ -155,6 +155,10 @@ static QMap<QString, QSharedPointer<KeySequence>> recognizedShortcuts = {
|
||||
SHORTCUT("TYPE_RESIZE_RIGHT" , "Shift+Right" ),
|
||||
SHORTCUT("TYPE_RESIZE_UP" , "Shift+Up" ),
|
||||
SHORTCUT("TYPE_RESIZE_DOWN" , "Shift+Down" ),
|
||||
SHORTCUT("TYPE_SYM_RESIZE_LEFT" , "Ctrl+Shift+Left" ),
|
||||
SHORTCUT("TYPE_SYM_RESIZE_RIGHT" , "Ctrl+Shift+Right" ),
|
||||
SHORTCUT("TYPE_SYM_RESIZE_UP" , "Ctrl+Shift+Up" ),
|
||||
SHORTCUT("TYPE_SYM_RESIZE_DOWN" , "Ctrl+Shift+Down" ),
|
||||
SHORTCUT("TYPE_SELECT_ALL" , "Ctrl+A" ),
|
||||
SHORTCUT("TYPE_MOVE_LEFT" , "Left" ),
|
||||
SHORTCUT("TYPE_MOVE_RIGHT" , "Right" ),
|
||||
|
||||
Reference in New Issue
Block a user