mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-16 22:00:05 -04:00
Update aurora & redraw hearts guage on HUD scale change
This commit is contained in:
Vendored
+1
-1
Submodule extern/aurora updated: f49d3c5f58...319f9bb546
+9
-2
@@ -663,8 +663,15 @@ void dMeter2_c::moveLife() {
|
||||
draw_life = true;
|
||||
}
|
||||
|
||||
if (mLifeGaugeScale != g_drawHIO.mLifeParentScale) {
|
||||
mLifeGaugeScale = g_drawHIO.mLifeParentScale;
|
||||
#if TARGET_PC
|
||||
const f32 lifeGaugeScale =
|
||||
g_drawHIO.mLifeParentScale *
|
||||
std::clamp(dusk::getSettings().game.hudScale.getValue(), 0.5f, 2.0f);
|
||||
#else
|
||||
const f32 lifeGaugeScale = g_drawHIO.mLifeParentScale;
|
||||
#endif
|
||||
if (mLifeGaugeScale != lifeGaugeScale) {
|
||||
mLifeGaugeScale = lifeGaugeScale;
|
||||
draw_life = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user