[aseprite] 130/308: Fix closing the whole user data popup when we're selecting the user data color
Tobias Hansen
thansen at moszumanska.debian.org
Tue Mar 8 02:45:01 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 70127f19e1d7405f24026cc2f014352e879098e9
Author: David Capello <davidcapello at gmail.com>
Date: Thu Dec 17 16:34:57 2015 -0300
Fix closing the whole user data popup when we're selecting the user data color
---
src/ui/popup_window.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/ui/popup_window.cpp b/src/ui/popup_window.cpp
index c8938bb..462b056 100644
--- a/src/ui/popup_window.cpp
+++ b/src/ui/popup_window.cpp
@@ -113,7 +113,8 @@ bool PopupWindow::onProcessMessage(Message* msg)
break;
case kMouseDownMessage:
- if (m_filtering) {
+ if (m_filtering &&
+ manager()->getTopWindow() == this) {
gfx::Point mousePos = static_cast<MouseMessage*>(msg)->position();
switch (m_clickBehavior) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list