← Back to team overview

kicad-developers team mailing list archive

Re: Is snap-to-grid zoom-level dependant?

 

Hi Jeff,

On 10/20/2018 10:12 AM, Jeff Young wrote:
I built up a pretty big board (at least for me) over the last week with 6.0.  No major issues.

The most annoying one is that when moving objects with ‘m’ and then the arrow keys, it can move on the wrong axis if I’m zoomed out a bit.  If I zoom in far enough to see the lowest level of grid dots, it works correctly.

Is this because the arrow keys are snapping to screen pixels as well as the grid?  If so, can we remove that part?

This is the expected behavior and I don't think we should change that. I don't think the ignore snapping modifier key does anything when moving the cursor with the arrow keys so this could be something to take a look at if you are trying to improve this behavior. The only issue I see would be when this condition occurs, what would be the step distance for each cursor press. It might take a few key presses to move the cursor any noticeable difference if you use the minimum board resolution of 1 nanometer. I guess you calculate some "reasonable" distance based on the current zoom level and/or grid spacing.


Cheers,
Jeff.


Follow ups

References