forked from rosebudai/OpenRCT2-Web
Fix typo in finance graph max size (#23437)
* Fix typo in finance graph max size * Remove dead code
This commit is contained in:
1 parent
110140b13f
commit
ddfb644c61
2 files changed
+1
-3
No files matched your search
@@ -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