mirror of https://github.com/axmolengine/axmol.git
Merge pull request #10073 from liamcindy/Widget_2.4
the ui widget need to refresh size by ignore state
This commit is contained in:
commit
a3046730d7
|
@ -465,10 +465,6 @@ void Widget::ignoreContentAdaptWithSize(bool ignore)
|
|||
this->setContentSize(_customSize);
|
||||
return;
|
||||
}
|
||||
if (_ignoreSize == ignore)
|
||||
{
|
||||
return;
|
||||
}
|
||||
_ignoreSize = ignore;
|
||||
if (_ignoreSize)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue