widget_styles in modes don't work #114
Unanswered
gbouthenot
asked this question in
Q&A
Replies: 1 comment 1 reply
-
From looking at actual code it is only supported in config. There are some commented out tests that speak to future support for styles inside a mode. Is this a meaningful feature to add? Or just confusion given the incorrect documentation? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I am trying to define some widget_styles inside a mode, but it appears that MPF, does not see styles defined in mode.
If I put the widget_styles in the machine config, it works.
File
/modes/base/config/base.yaml
:This throws the error:
However, if I move
widget_styles
into the fileconfig/config.yaml
, myws_ball
style works.The documentation https://missionpinball.org/config/widget_styles/ says that
widget_styles
can be used in modes, and indeed, the declaration seems valid (mpf does not crash), but the defined styles are not found when I use them in a widget.Versions:
mpf 0.56.2
mpf-mc 0.56.1
Beta Was this translation helpful? Give feedback.
All reactions