Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for "Select Below" for Sketch 46 #63

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Arroyodorado
Copy link

@Arroyodorado Arroyodorado commented Aug 26, 2017

Since "Select Below" doesn't work anymore and I find it a very useful function, I tried to find a solution. Turns out that "selectLayers()" seems not to exist anymore. I have to admit that my fix contains some code from Ashung Hung (Ashung.hung@gmail.com) for selecting an array of layers, although this may be quite basic stuff.

…e selected layer to the next layer within the same group in that specific direction. Huh?

Example: "Smart Align Left" now moves (snaps) the selected layer to the right border of the next layer to the left in the same parent group. If there is no more layer to the left, it behaves as "Smart Align" did before, it moves the selected layer to the left border of the parent group or to the left border of the artboard.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant