mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-02 19:56:13 +01:00
Close #15896: Refactor out the ZoomLevel operators
This commit is contained in:
@@ -801,8 +801,8 @@ namespace OpenRCT2::Ui::Windows
|
||||
viewport->pos.y = top;
|
||||
viewport->width = wwidth;
|
||||
viewport->height = wheight;
|
||||
viewport->view_width = wwidth * viewport->zoom;
|
||||
viewport->view_height = wheight * viewport->zoom;
|
||||
viewport->view_width = viewport->zoom.ApplyTo(wwidth);
|
||||
viewport->view_height = viewport->zoom.ApplyTo(wheight);
|
||||
Invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user