1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

Rename 'ListView' to 'ListViewWidget' in Typescript declaration

This commit is contained in:
Basssiiie
2021-04-27 17:14:23 +02:00
committed by GitHub
parent 3197565dfe
commit ec7088364e
2 changed files with 3 additions and 2 deletions

View File

@@ -4,6 +4,7 @@
- Feature: [#14071] “Vandals stopped” statistic for security guards.
- Feature: [#14296] Allow using early scenario completion in multiplayer.
- Change: [#14496] [Plugin] Rename Object to LoadedObject to fix conflicts with Typescript's Object interface.
- Change: [#14536] [Plugin] Rename ListView to ListViewWidget to make it consistent with names of other widgets.
- Fix: [#11829] Visual glitches and crashes when using RCT1 assets from mismatched or corrupt CSG1.DAT and CSG1i.DAT files.
- Fix: [#13581] Opening the Options menu causes a noticeable drop in FPS.
- Fix: [#13894] Block brakes do not animate.

View File

@@ -2054,7 +2054,7 @@ declare global {
type Widget =
ButtonWidget | CheckboxWidget | ColourPickerWidget | CustomWidget | DropdownWidget | GroupBoxWidget |
LabelWidget | ListView | SpinnerWidget | TextBoxWidget | ViewportWidget;
LabelWidget | ListViewWidget | SpinnerWidget | TextBoxWidget | ViewportWidget;
interface WidgetBase {
readonly window?: Window;
@@ -2147,7 +2147,7 @@ declare global {
column: number;
}
interface ListView extends WidgetBase {
interface ListViewWidget extends WidgetBase {
type: "listview";
scrollbars?: ScrollbarType;
isStriped?: boolean;