[aseprite] 90/128: Fix bug not returning to default selection mode from subtraction after releasing Alt+Shift
Tobias Hansen
thansen at moszumanska.debian.org
Mon May 9 21:24:27 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 d9604d9905f194bb7474d31c028d84d0f43df152
Author: David Capello <davidcapello at gmail.com>
Date: Mon May 2 13:24:30 2016 -0300
Fix bug not returning to default selection mode from subtraction after releasing Alt+Shift
---
src/app/ui/editor/editor.cpp | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/app/ui/editor/editor.cpp b/src/app/ui/editor/editor.cpp
index 8c7659c..fbf1916 100644
--- a/src/app/ui/editor/editor.cpp
+++ b/src/app/ui/editor/editor.cpp
@@ -1152,8 +1152,8 @@ bool Editor::onProcessMessage(Message* msg)
break;
case kMouseEnterMessage:
- updateQuicktool();
updateToolLoopModifiersIndicators();
+ updateQuicktool();
break;
case kMouseLeaveMessage:
@@ -1171,8 +1171,8 @@ bool Editor::onProcessMessage(Message* msg)
if (!m_secondaryButton && mouseMsg->right()) {
m_secondaryButton = mouseMsg->right();
- updateQuicktool();
updateToolLoopModifiersIndicators();
+ updateQuicktool();
setCursor(mouseMsg->position());
}
@@ -1207,8 +1207,8 @@ bool Editor::onProcessMessage(Message* msg)
App::instance()->activeToolManager()->releaseButtons();
m_secondaryButton = false;
- updateQuicktool();
updateToolLoopModifiersIndicators();
+ updateQuicktool();
setCursor(mouseMsg->position());
}
@@ -1242,11 +1242,11 @@ bool Editor::onProcessMessage(Message* msg)
EditorStatePtr holdState(m_state);
bool used = m_state->onKeyDown(this, static_cast<KeyMessage*>(msg));
+ updateToolLoopModifiersIndicators();
if (hasMouse()) {
updateQuicktool();
setCursor(ui::get_mouse_position());
}
- updateToolLoopModifiersIndicators();
if (used)
return true;
@@ -1258,11 +1258,11 @@ bool Editor::onProcessMessage(Message* msg)
EditorStatePtr holdState(m_state);
bool used = m_state->onKeyUp(this, static_cast<KeyMessage*>(msg));
+ updateToolLoopModifiersIndicators();
if (hasMouse()) {
updateQuicktool();
setCursor(ui::get_mouse_position());
}
- updateToolLoopModifiersIndicators();
if (used)
return true;
--
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