mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-03 00:16:36 -04:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user