-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I'm testing some stuff in RoboFont, I think I found the bug:
from vanilla import FloatingWindow, List, ImageListCell
from defconAppKit.representationFactories.glyphCellFactory import GlyphCellFactory
class LastGlyphs:
rowHeight = 50
def __init__(self):
self.w = FloatingWindow((100,100+22),minSize=(100,100),maxSize=(100,5000))
if CurrentGlyph():
image = GlyphCellFactory(
glyph=CurrentGlyph(),
width=100,
height=self.rowHeight,
drawHeader=False,
drawMetrics=False
)
items = [
dict(image=image)
]
else:
items = []
self.w.glyphView = List((0,0,-0,-0),items,
rowHeight=self.rowHeight,
columnDescriptions=[
{"title": "image", "cell": ImageListCell()}
])
self.w.open()
if __name__=='__main__':
LastGlyphs()
| for layerName in reversed(layers.layerOrder): |
self.font.layer in this line is a tuple. It doesn't have an argument `layerOrder.
Metadata
Metadata
Assignees
Labels
No labels