keyboard_widget: don't show decals

main
Ilya Zhuravlev 2020-12-29 07:37:24 -05:00
parent e63a697aaa
commit d3cbf4f1fb
1 changed files with 2 additions and 0 deletions

View File

@ -186,6 +186,8 @@ class KeyboardWidget(QWidget):
option = self.layout_editor.get_choice(idx)
self.widgets += self.widgets_for_layout[idx][option]
self.widgets = list(filter(lambda w: not w.desc.decal, self.widgets))
self.widgets.sort(key=lambda w: (w.y, w.x))
# determine maximum width and height of container