feat(color): extend Lua API to allow changes to choice values, widget settings title (#7152)

This commit is contained in:
philmoz
2026-03-10 15:20:37 +10:00
committed by GitHub
parent 4eca8f274e
commit 61f89b6076
3 changed files with 38 additions and 5 deletions
+1
View File
@@ -150,6 +150,7 @@ void Choice::addValue(const char* value)
void Choice::setValues(std::vector<std::string> values)
{
this->values.clear();
this->values = std::move(values);
currentValue = INT_MAX; // Force update
update();