A Sketch plugin that can easily get your layers out of their artboard.
You may have some needs to darw layers over artboards in Sketch, i.e. arrows in UI workflows. But Sketch sometimes will put these layers into artboards automatically, which will make layers partly invisable. The common solution is to drag the layer out of its artboard in layer list. Unfortunately, it is a nightmare when you have massive artboards with massive layers, where you have to drag your layer across a long distance to the top of the artboards stack.
Now this plugin will help you do this dirty work. All you need to do is to select your layers then click ctrl+shift+a
. And your layers will be moved out of artboards.
Using parcel ./page/index.html
to test the webview. And other plugin scripts are in src
folder.
一个快速把元素移出画板的sketch插件
当你在使用sketch时可能会有一些需要跨过不同画板的元素(比如做界面流程时表示界面跳转关系的箭头线)。但是sketch有时会自动把这些元素收入到它们横跨的画板中,导致只有在画板中的部分才可见。一般的办法是在layer list手动把元素拖到画板层级的外面。但是当你有大量的画板和大量的元素,这种操作简直就是噩梦。
要解决这个问题,可以使用Get out插件,你只需要选中一个或多个目标元素然后按快捷键ctrl+shift+a
(或者在plugins菜单中进行操作),就可以快速把该元素移出画板层级。
测试Webview用parcel ./page/index.html
,其他代码都在src
文件夹。