mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-16 14:42:44 +00:00
Fix closing the whole user data popup when we're selecting the user data color
This commit is contained in:
parent
6ec07d5e10
commit
70127f19e1
@ -113,7 +113,8 @@ bool PopupWindow::onProcessMessage(Message* msg)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case kMouseDownMessage:
|
case kMouseDownMessage:
|
||||||
if (m_filtering) {
|
if (m_filtering &&
|
||||||
|
manager()->getTopWindow() == this) {
|
||||||
gfx::Point mousePos = static_cast<MouseMessage*>(msg)->position();
|
gfx::Point mousePos = static_cast<MouseMessage*>(msg)->position();
|
||||||
|
|
||||||
switch (m_clickBehavior) {
|
switch (m_clickBehavior) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user