mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-06 06:58:15 +00:00
Fix Widget::setTransparent(false)
This commit is contained in:
parent
10cdad9c58
commit
77cdbf4739
@ -1249,7 +1249,10 @@ bool Widget::isTransparent() const
|
||||
|
||||
void Widget::setTransparent(bool transparent)
|
||||
{
|
||||
enableFlags(TRANSPARENT);
|
||||
if (transparent)
|
||||
enableFlags(TRANSPARENT);
|
||||
else
|
||||
disableFlags(TRANSPARENT);
|
||||
}
|
||||
|
||||
void Widget::invalidate()
|
||||
|
Loading…
Reference in New Issue
Block a user