Jump to content
You must now use your email address to sign in [click for more info] ×

Is there a trick to making snapping actually work?


Recommended Posts

Hey guys,

I'm really having a tough time using snapping. It's like a cool feature that doesn't work for me. I can almost never get it to work properly, I have to adjust decilmals every time. For example in this scenario, there's a 0.5px gap between the two rectangles, when there shouldn't be any spacing between them. They have both rounded values for width/height, and even the "move by whole pixels" and "force pixel alignment" are turned on, but there's this 0.5 pixels gap, when in fact they should "stick" to one another. How do you use snapping? It's personally driving me insane, it could be such a time saver, but I can't get it to work properly.

Thanks

snapping-decimals.jpg

Link to comment
Share on other sites

34 minutes ago, owenr said:

its purpose is to deliberately preserve an existing misalignment

 

Nicely put! :D

 

If ‘Force Pixel Alignment’ always took precedence then we wouldn’t have this problem, but it doesn’t, so you need to turn off ‘Move By Whole Pixels’ in order for ‘Force Pixel Alignment’ to perform the promised forcing.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

8 minutes ago, Alfred said:

 

Nicely put! :D

 

If ‘Force Pixel Alignment’ always took precedence then we wouldn’t have this problem, but it doesn’t, so you need to turn off ‘Move By Whole Pixels’ in order for ‘Force Pixel Alignment’ to perform the promised forcing.

 

If both shapes have their width, height, X and Y rounded numbers (I mean without decimals) why would there be a problem with both options being enabled? Because this is the case for me. Basically what happens is the opposite, it kills the numbers without decimals, and it turns them into numbers with decimals.

Link to comment
Share on other sites

8 minutes ago, chris.bannu said:

Basically what happens is the opposite, it kills the numbers without decimals, and it turns them into numbers with decimals.

 

So you’re saying that if you have an object whose x-coordinate is exactly 35 and you move it 2 whole pixels to the right with ‘Force Pixel Alignment’ turned on, its new x-coordinate isn’t exactly 37??  If so, that doesn’t sound right at all!! :o

 

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

On 21/04/2018 at 5:11 PM, Alfred said:

 

So you’re saying that if you have an object whose x-coordinate is exactly 35 and you move it 2 whole pixels to the right with ‘Force Pixel Alignment’ turned on, its new x-coordinate isn’t exactly 37??  If so, that doesn’t sound right at all!! :o

 

 

Exactly. Decimals are added. Only when snapping to another object, not moving it in other ways, just by snapping it to an object 2 pixels away.

Link to comment
Share on other sites

  • Staff

Hi chris.bannu,

Can you please attach the file where this is happening? There must be something else going on. It may be trying to snap to another reference from another object with non integer values or to the middle of an object with odd dimensions or to the canvas itself - there's quite a few situations that may cause it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.