Would it be possible to implement the same locked feature that exists on GSGlyph at the GSLayer level?
We are working on that.
there is something that might go in the right direction: add a file “GlyphsUserSettings.plist” next to your .glyphs file:
{
hiddenMasters = (
"the id of the master to hide",
);
}
The next time you open the .glyphs file, that master will be not visible any more. That can be used when some designers should only work on some masters. so each designer gets its own settings file.
Interesting feature !
My use case for a locked status at the layer level: I’m building a plugin that generates layers derived from other layers. Since their content is computed, any manual edit would either be overwritten on the next update. Being able to lock them would make it clear to users that these layers are managed by the plugin and shouldn’t be edited by hand.
I see. You can start by giving them a color. At least it some visual cue.
I’m already drawing visual indicators in editView, but the ideal solution would be to lock it ![]()