mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-16 23:42:57 +00:00
Fix crash showing color popups that cannot be pinned
This commit is contained in:
parent
105cbe4d58
commit
5eb402c494
@ -91,8 +91,10 @@ ColorPopup::ColorPopup(bool canPin)
|
||||
break;
|
||||
}
|
||||
}
|
||||
m_topBox.addChild(new BoxFiller);
|
||||
m_topBox.addChild(closeButton);
|
||||
if (closeButton) {
|
||||
m_topBox.addChild(new BoxFiller);
|
||||
m_topBox.addChild(closeButton);
|
||||
}
|
||||
}
|
||||
|
||||
m_vbox.addChild(&m_topBox);
|
||||
|
Loading…
x
Reference in New Issue
Block a user