mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-04 22:21:23 +12:00
Swap ctrl and shift actions for selected shape moving/resizing that way it will be consistent with create moving hotkey (ctrl when creating shape)
This commit is contained in:
parent
ba04944c9e
commit
0f9ee0be33
|
@ -219,7 +219,7 @@ private void form_KeyDown(object sender, KeyEventArgs e)
|
|||
}
|
||||
|
||||
// Calculate cursor movement
|
||||
int speed = e.Control ? MaxMoveSpeed : MinMoveSpeed;
|
||||
int speed = e.Shift ? MaxMoveSpeed : MinMoveSpeed;
|
||||
int y = IsUpPressed && IsDownPressed ? 0 : IsDownPressed ? speed : IsUpPressed ? -speed : 0;
|
||||
int x = IsLeftPressed && IsRightPressed ? 0 : IsRightPressed ? speed : IsLeftPressed ? -speed : 0;
|
||||
|
||||
|
@ -230,7 +230,7 @@ private void form_KeyDown(object sender, KeyEventArgs e)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (e.Shift)
|
||||
if (e.Control)
|
||||
{
|
||||
MoveCurrentArea(x, y);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue