UI: Rename visual update callback variable

Having both a "callback" and "cb" doesn't make sense. One is
specifically for visual updates only, the other is for actual updates,
so use an appropriate name for both
This commit is contained in:
jp9000
2022-03-09 09:14:32 -08:00
parent 45f737fb30
commit e5f57a1e03
2 changed files with 9 additions and 7 deletions

View File

@@ -102,7 +102,7 @@ private:
std::string type;
PropertiesReloadCallback reloadCallback;
PropertiesUpdateCallback callback = nullptr;
PropertiesVisualUpdateCb cb = nullptr;
PropertiesVisualUpdateCb visUpdateCb = nullptr;
int minSize;
std::vector<std::unique_ptr<WidgetInfo>> children;
std::string lastFocused;