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

This commit is contained in:
Tristan Cormier authored and fallenoak committed 2025-11-24 22:39:00 -06:00
1 parent 2faa699a79
commit a081f3b1b2
2 files changed
+4 -4

No files matched your search

+3 -3
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) {
+1 -1
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);