update HUD positions in updateOnWide instead of when drawing

this change makes it so positions will properly update when resizing the window, instead of only updating on room load
This commit is contained in:
CraftyBoss
2026-04-04 23:42:00 -07:00
parent 6e6f55f1e4
commit 6ca9017e12
4 changed files with 17 additions and 31 deletions
+1 -3
View File
@@ -593,6 +593,7 @@ void mDoGph_gInf_c::onWide(f32 width, f32 height) {
pc_tvSize.width = width;
pc_tvSize.height = height;
setTvSize();
dMeter2Info_onWide2D();
}
#else
void mDoGph_gInf_c::onWide() {
@@ -605,10 +606,7 @@ void mDoGph_gInf_c::onWide() {
void mDoGph_gInf_c::offWide() {
mWide = FALSE;
setTvSize();
#if !TARGET_PC
dMeter2Info_offWide2D();
#endif
}
void mDoGph_gInf_c::onWideZoom() {