Fix #16449: Viewport doesn't close when switching tabs

This commit is contained in:
Ted John 2022-01-19 09:23:44 +00:00 committed by GitHub
parent 8e8f2be93f
commit 992ece4a4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -34,6 +34,7 @@
- Fix: [#16162] Go Karts speeds are not correctly randomised, they only go very fast or very slow.
- Fix: [#16188] Medium-size banked turns on the Twister and Vertical Roller Coaster have incorrect support placement (partly original bug).
- Fix: [#16327] Crash on malformed network packet.
- Fix: [#16449] [Plugin] Viewport doesn't hide when switching tabs.
0.3.5.1 (2021-11-21)
------------------------------------------------------------------------

View File

@ -807,6 +807,14 @@ namespace OpenRCT2::Ui::Windows
}
}
}
else
{
RemoveViewport();
}
}
else
{
RemoveViewport();
}
}