diff options
| author | Lex Neva <lexelby@users.noreply.github.com> | 2024-04-30 14:21:32 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-30 20:21:32 +0200 |
| commit | 3f0f04abec4ef1d12c670bca866db76a5a7d4d6a (patch) | |
| tree | 1a485e0a126d0a3d0619f2b7521081d9edcfe299 /lib/gui/lettering.py | |
| parent | 7af665806adc3194ff37393622b088043fec77c7 (diff) | |
simulator fixes (#2844)
* fix slide and control panel rendering bugs
* clear marker lists when clearing stitch plan
* switch simulator back to wx
* remove unused function
* fix off-by-one error in color bar
* avoid overlapping command symbols of different types
* don't maximize simulator
* adjust alignment
* remove unused API server
* bugfix
* focus entire simulator panel
* rename simulator/realistic preview -> simulator
* experimental: background color picker
* set pagecolor to background color by default
* satisfy macos
* toggle jumps on drawing canvas
* clear frog family
---------
Co-authored-by: Kaalleen
Diffstat (limited to 'lib/gui/lettering.py')
| -rw-r--r-- | lib/gui/lettering.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gui/lettering.py b/lib/gui/lettering.py index edbebb20..57d8a85d 100644 --- a/lib/gui/lettering.py +++ b/lib/gui/lettering.py @@ -25,12 +25,13 @@ from . import PresetsPanel, PreviewRenderer, info_dialog class LetteringPanel(wx.Panel): DEFAULT_FONT = "small_font" - def __init__(self, parent, simulator, group, on_cancel=None, metadata=None): + def __init__(self, parent, simulator, group, on_cancel=None, metadata=None, background_color='white'): self.parent = parent self.simulator = simulator self.group = group self.cancel_hook = on_cancel self.metadata = metadata or dict() + self.background_color = background_color super().__init__(parent, wx.ID_ANY) |
