mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
chore(ui): name unknown param in CSimpleFrame::SetFrameScale
This commit is contained in:
parent
163f02a332
commit
2176e897a2
@ -1373,14 +1373,14 @@ void CSimpleFrame::SetFrameLevel(int32_t level, int32_t shiftChildren) {
|
||||
}
|
||||
}
|
||||
|
||||
bool CSimpleFrame::SetFrameScale(float scale, bool a3) {
|
||||
if (scale == 0.0f || (!a3 && AreEqual(scale, this->m_frameScale, WHOA_EPSILON_1))) {
|
||||
bool CSimpleFrame::SetFrameScale(float scale, bool force) {
|
||||
if (scale == 0.0f || (!force && AreEqual(scale, this->m_frameScale, WHOA_EPSILON_1))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
this->m_frameScale = scale;
|
||||
|
||||
return this->UpdateScale(a3);
|
||||
return this->UpdateScale(force);
|
||||
}
|
||||
|
||||
void CSimpleFrame::SetFrameStrata(FRAME_STRATA strata) {
|
||||
|
||||
@ -155,7 +155,7 @@ class CSimpleFrame : public CScriptRegion {
|
||||
void SetFrameAlpha(uint8_t alpha);
|
||||
void SetFrameFlag(int32_t flag, int32_t on);
|
||||
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 SetHitRect();
|
||||
void SetParent(CSimpleFrame* parent);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user