One suggestion: I think it would be useful if the user can use the keyboard (arrow up and down) to move from one layer to another one. I don’t know about other, but I use a lot the layers palette to test different options for the design before selecting the final one. I guess I am not the only one. It’s a bit annoying when I want to preview the different options and I need to use the mouse.
Would be also possible to select more than one layer with the caps key so I can delete more than one layer at once?
Thanks! Glyphs is a great app
You could write a little script and assign a shortcut. I’ll see if I can come up with a code sample.
Edit:
#MenuTitle: Display Next Layer
# -*- coding: utf-8 -*-
__doc__="""
Switches to the next layer of the current glyph.
"""
Font = Glyphs.font # frontmost font
if Font and Font.currentTab:
currentLayer = Font.currentTab.activeLayer()
if currentLayer:
currentGlyph = currentLayer.parent
availableLayers = currentGlyph.layers
currentIndex = availableLayers.index(currentLayer)
nextIndex = (currentIndex+1)%len(availableLayers)
nextLayer = availableLayers[nextIndex]
offset = Font.currentTab.layersCursor
newLayers = Font.currentTab.layers[:]
newLayers.insert(offset,nextLayer)
newLayers.pop(offset+1)
Font.currentTab.layers = newLayers
3 Likes