mirror of https://github.com/axmolengine/axmol.git
Fixed #9400 : Widget::setHighlighted does not work after setBright
This commit is contained in:
parent
96007b2793
commit
14145e29a8
|
@ -587,10 +587,6 @@ bool Widget::isHighlighted() const
|
||||||
|
|
||||||
void Widget::setHighlighted(bool hilight)
|
void Widget::setHighlighted(bool hilight)
|
||||||
{
|
{
|
||||||
if (hilight == _highlight)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_highlight = hilight;
|
_highlight = hilight;
|
||||||
if (_bright)
|
if (_bright)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue