With LUA's, the color name TEXT_COLOR is acknowledged with an error.
Is there an existing issue for this problem?
- [x] I have searched the existing issues
What part of EdgeTX is the focus of this bug?
Transmitter firmware
Current Behavior
After today's update for all LUA's where the color
name TEXT_COLOR appears, the script goes to error.
Expected Behavior
If I go back to the previous version everything is OK.
Steps To Reproduce
With the new version 3.0.0 selbuild (54a6fb5e) error when calling LUA.
Version
2.11.0
Transmitter
RadioMaster TX16S / TX16SMK2
Operating System (OS)
Windows
OS Version
No response
Anything else?
No response
If you check the documentation you can see that TEXT_COLOR has been deprecated in favor of COLOR_THEME_SECONDARY1.
As a quick fix I think you could always define TEXT_COLOR as the value of COLOR_THEME_SECONDARY1 in your script.
Hello a good tip, have the affected LUA scripts on local TEXT_COLOR = COLOR_THEME_SECONDARY1 changed.
Thanks again