Trying to get line break layer GSControlLayer(10) from a palette plugin, but it gives the error:
NameError: name ‘GSControlLayer’ is not defined
Works fine from the macro panel. Is that a bug?
Trying to get line break layer GSControlLayer(10) from a palette plugin, but it gives the error:
NameError: name ‘GSControlLayer’ is not defined
Works fine from the macro panel. Is that a bug?
You need to import it:
from GlyphsApp import GSControlLayer