mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 17:24:47 +01:00
Refactor of colours (#19998)
* Move dropdown functions to dropdown code * Use a map for the colour tip * Keep dropdownidx and colour seperated * Allow number of rows to match vanilla * Apply review comment * Bump network version
This commit is contained in:
@@ -680,7 +680,7 @@ namespace OpenRCT2::Ui::Windows
|
||||
{
|
||||
if (widgetDesc->Type == "colourpicker")
|
||||
{
|
||||
UpdateWidgetColour(this, widgetIndex, dropdownIndex);
|
||||
UpdateWidgetColour(this, widgetIndex, ColourDropDownIndexToColour(dropdownIndex));
|
||||
}
|
||||
else if (widgetDesc->Type == "dropdown")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user