ddwht / sketch-dynamic-button

Dynamic button plugin for Sketch.app
1.05k stars 57 forks source link

Not working in 3.4 #25

Open jarisanders opened 8 years ago

jarisanders commented 8 years ago

Latest update causes the following error:

Selection is empty You need to select at least one layer

Chuckland commented 8 years ago

The reason of this strange behaviour is tricky logic of selection variable in 3.4 update.

Plugin doesn't work when several sketch files are open. As temporary solution: close all sketch files except one you are working on.

jarisanders commented 8 years ago

Thanks, that does the trick for now!

mandlapower commented 8 years ago

Thanks @Chuckland saved me a lot

Quasimime commented 8 years ago

Thank you, @Chuckland

pixelbrot commented 8 years ago

The error is still showing up on Sketch 3.4.2, with 2 or more files open. Cheers

TheDamianHdez commented 8 years ago

Closing other sketch files works for me. Thank you @Chuckland and @pixelbrot

joevillanueva commented 8 years ago

Confirming this still shows up in 3.4.2, but that closing other files as @Chuckland has mentioned works.