mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
image editor: fixed move-by-10-px using shift+arrow keys
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1722 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
4b3f7ba0a5
commit
b881ca0b94
1 changed files with 2 additions and 1 deletions
|
@ -1105,7 +1105,8 @@ namespace Greenshot.Drawing {
|
|||
|
||||
public void ProcessCmdKey(Keys k) {
|
||||
if (selectedElements.Count > 0) {
|
||||
int px = (k == Keys.Shift) ? 10 : 1;
|
||||
bool shiftModifier = (Control.ModifierKeys & Keys.Shift) == Keys.Shift;
|
||||
int px = shiftModifier ? 10 : 1;
|
||||
Point moveBy = Point.Empty;
|
||||
|
||||
switch (k) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue