Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
LucienLee committed Apr 28, 2016
1 parent 17abf74 commit 90ab754
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Because original align function in Sketch only provide that align to a selection
- Align bottom relative to key object
- Align horzonial center relative to key object
- Align vertical center relative to key object
- Align horzonial and vertical center relative to key object
- Align layers automactically with bottom or top layer of a group layers

#Installation

Expand All @@ -37,6 +39,15 @@ Use [Sketch Toobox](http://sketchtoolbox.com/) to search `AlignTo` and click ins

Select all layers you want to align, then select `Plugins ▸ AlignTo` in the Sketch menu bar. Next, select align method and which layer as key layer.

### Setting
You can choose how "Align To" select the key object in Setting.
Align To provide three modes to select the key object, which are **selecting manually**, **selecting the bottom layer automatically** and **selecting the top layer automatically**. The default setting is using modal to select key object manually.

To change the setting, select `Plugins ▸ AlignTo ▸ Setting` in the Sketch menu bar.

![setting](./img/setting.png)


###Keyboard Shortcut

- Align left relative to key object: `CMD` + `Option` + `Ctrl` + `l`
Expand All @@ -55,4 +66,4 @@ Open `AlignTo` directory, then open `manifest.json` file with text editor. Chang

#Feedback

If you discover any issues or have questions regarding usage, please send a message to [lkiral7903@gmail.com](mailto:lucien@lucienlee.cc)
If you discover any issues or have questions regarding usage, please send a message to [lucien@lucienlee.cc](mailto:lucien@lucienlee.cc)
Binary file added img/setting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 90ab754

Please sign in to comment.