You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just stumbled over this plugin and gave it a try, as it reminds me of Layer Comps in Photoshop - which is handy,
but unfortunately it doesn't work fully:
I can create and Save Layer Comps from the Plugin menu -> Save Layer Comp
But when I navigate to Set Layer Comp - I get this error in Sketch DevTools Console:
MOJavaScriptException: TypeError: t.map is not a function. (In 't.map(e=>o.addButtonWithTitle(e))', 't.map' is undefined)
l __set-comp.js:1:15115
e __set-comp.js:1:16437
__set-comp.js:1:16617
__skpm_run __set-comp.js:1:17144
__skpm_run [native code]
and the plugin code doesn't execute further.
I don't know enough to debug more and suggest a fix ...
Delete Layer Comps - shows the list of Saved Layer Comps.
Sketch Version 72.1 (124357)
macOS 11.3.1
Another thing, "Set Layer Comp" is mildly confusing (at least for me) I think would be better renamed to "Change to Layer Comp" or "View Layer Comp" - as I presume you would see a list of saved layer comps and choose which one to apply to the current artboard.
The text was updated successfully, but these errors were encountered:
silviu-bucsa
changed the title
Plugin not working fully
Plugin not working - Set Layer Comp issue
May 15, 2021
Hello,
Just stumbled over this plugin and gave it a try, as it reminds me of Layer Comps in Photoshop - which is handy,
but unfortunately it doesn't work fully:
I can create and Save Layer Comps from the Plugin menu -> Save Layer Comp
But when I navigate to Set Layer Comp - I get this error in Sketch DevTools Console:
MOJavaScriptException: TypeError: t.map is not a function. (In 't.map(e=>o.addButtonWithTitle(e))', 't.map' is undefined)
l __set-comp.js:1:15115
e __set-comp.js:1:16437
__set-comp.js:1:16617
__skpm_run __set-comp.js:1:17144
__skpm_run [native code]
and the plugin code doesn't execute further.
I don't know enough to debug more and suggest a fix ...
Delete Layer Comps - shows the list of Saved Layer Comps.
Sketch Version 72.1 (124357)
macOS 11.3.1
Another thing, "Set Layer Comp" is mildly confusing (at least for me) I think would be better renamed to "Change to Layer Comp" or "View Layer Comp" - as I presume you would see a list of saved layer comps and choose which one to apply to the current artboard.
The text was updated successfully, but these errors were encountered: