mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix widgets not redrawing correctly when updating disabled/visible state
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
- Fix: [#20255] Images from the last hovered-over coaster in the object selection are not freed.
|
||||
- Fix: [#20616] Confirmation button in the track designer’s quit prompt has the wrong text.
|
||||
- Fix: [#21145] [Plugin] setInterval/setTimeout handle conflict.
|
||||
- Fix: [#21157] [Plugin] Widgets do not redraw correctly when updating disabled or visibility state.
|
||||
- Fix: [#21158] [Plugin] Potential crash using setInterval/setTimeout within the callback.
|
||||
- Fix: [#21171] [Plugin] Crash creating entities with no more entity slots available.
|
||||
- Fix: [#21178] Inca Lost City’s scenario description incorrectly states there are height restrictions.
|
||||
|
||||
@@ -323,6 +323,7 @@ namespace OpenRCT2::Scripting
|
||||
WidgetSetDisabled(*w, _widgetIndex + 2, value);
|
||||
}
|
||||
}
|
||||
Invalidate(widget);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -355,6 +356,7 @@ namespace OpenRCT2::Scripting
|
||||
WidgetSetVisible(*w, _widgetIndex + 2, value);
|
||||
}
|
||||
}
|
||||
Invalidate(widget);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user