likaiguo / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
0 stars 0 forks source link

Large nudge functionality #684

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
svg-edit currently uses the shift key and arrow combination to rotate in 
increments. I wonder if the shift could instead be used to force the movement 
of an element by the "nudge distance", but without shift, it would just move by 
1px. Maybe the rotate could be CTRL-SHFT or something else. I think users are 
more likely to want to move in large increments than they are to rotate. I know 
I use SHIFT-arrow in Illustrator all the time to quickly move an object out of 
the way to work on something else and then have an easy way to move it back to 
exactly where is was to start with - ie x number of shift-arrow steps. This 
behavior is a little different because you can't set this distance in 
Illustrator, but I think it would work well.

I think svg-edit could have a document properties "large/shift nudge distance" 
option, like Corel does.

Original issue reported on code.google.com by adrianbj...@gmail.com on 21 Sep 2010 at 3:37

GoogleCodeExporter commented 9 years ago
Yeah, I think this is an excellent idea (including the remap of the rotation 
shortcut). I myself have tried shift-nudging elements only to be reminded that 
it doesn't work in svg-edit. 

Original comment by adeve...@gmail.com on 21 Sep 2010 at 4:56

GoogleCodeExporter commented 9 years ago
Thought I'd add a few more ideas on the actual behavior of this. I was thinking 
that SHIFT nudging should override the grid and go to whatever that is set at. 
But, looking at Illustrator, when snap to grid is on, shift nudge goes two grid 
lines. Without snap to grid being on, the "keyboard increment" setting 
(Edit>Prefs) seems to control both the standard and shift nudge, with the 
latter being some factor greater than the former.

Original comment by adrianbj...@gmail.com on 21 Sep 2010 at 6:11

GoogleCodeExporter commented 9 years ago
Alright, don't have a customizable value yet, but behavior similar to 
Illustrator's is now used in r1741.

Original comment by adeve...@gmail.com on 21 Sep 2010 at 7:24

GoogleCodeExporter commented 9 years ago
Works great - thanks!

Original comment by adrianbj...@gmail.com on 21 Sep 2010 at 7:36