1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 23:34:37 +01:00

Fix typo in finance graph max size (#23437)

* Fix typo in finance graph max size

* Remove dead code
This commit is contained in:
mrmbernardi
2024-12-20 04:17:29 +11:00
committed by GitHub
parent 110140b13f
commit ddfb644c61
2 changed files with 1 additions and 3 deletions

View File

@@ -97,8 +97,6 @@ namespace OpenRCT2::Graph
kDashLength, PALETTE_INDEX_10);
GfxDrawDashedLine(dpi, { { bounds.GetLeft(), coords.y }, coords }, kDashLength, PALETTE_INDEX_10);
Formatter ft;
ft.Add<money64>(value);
DrawText(dpi, coords - ScreenCoordsXY{ 0, 16 }, { textCol, TextAlignment::CENTRE }, text);
GfxFillRect(dpi, { { coords - ScreenCoordsXY{ 2, 2 } }, coords + ScreenCoordsXY{ 2, 2 } }, PALETTE_INDEX_10);

View File

@@ -522,7 +522,7 @@ namespace OpenRCT2::Ui::Windows
{
flags |= WF_RESIZABLE;
WindowSetResize(
*this, WW_OTHER_TABS, WH_OTHER_TABS, std::numeric_limits<uint16_t>::max(),
*this, WW_OTHER_TABS, WH_OTHER_TABS, std::numeric_limits<int16_t>::max(),
std::numeric_limits<int16_t>::max());
}
else