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:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user