chore(ui): name unknown param in CSimpleFrame::SetFrameScale

This commit is contained in:
Tristan Cormier 2025-11-23 10:22:49 -05:00 committed by fallenoak
parent 2faa699a79
commit a081f3b1b2
2 changed files with 4 additions and 4 deletions

View File

@ -1373,14 +1373,14 @@ void CSimpleFrame::SetFrameLevel(int32_t level, int32_t shiftChildren) {
} }
} }
bool CSimpleFrame::SetFrameScale(float scale, bool a3) { bool CSimpleFrame::SetFrameScale(float scale, bool force) {
if (scale == 0.0f || (!a3 && AreEqual(scale, this->m_frameScale, WHOA_EPSILON_1))) { if (scale == 0.0f || (!force && AreEqual(scale, this->m_frameScale, WHOA_EPSILON_1))) {
return false; return false;
} }
this->m_frameScale = scale; this->m_frameScale = scale;
return this->UpdateScale(a3); return this->UpdateScale(force);
} }
void CSimpleFrame::SetFrameStrata(FRAME_STRATA strata) { void CSimpleFrame::SetFrameStrata(FRAME_STRATA strata) {

View File

@ -155,7 +155,7 @@ class CSimpleFrame : public CScriptRegion {
void SetFrameAlpha(uint8_t alpha); void SetFrameAlpha(uint8_t alpha);
void SetFrameFlag(int32_t flag, int32_t on); void SetFrameFlag(int32_t flag, int32_t on);
void SetFrameLevel(int32_t level, int32_t shiftChildren); void SetFrameLevel(int32_t level, int32_t shiftChildren);
bool SetFrameScale(float scale, bool a3); bool SetFrameScale(float scale, bool force);
void SetFrameStrata(FRAME_STRATA strata); void SetFrameStrata(FRAME_STRATA strata);
void SetHitRect(); void SetHitRect();
void SetParent(CSimpleFrame* parent); void SetParent(CSimpleFrame* parent);