[aseprite] 56/128: Fix timeout in StatusBar::showTool()
Tobias Hansen
thansen at moszumanska.debian.org
Mon May 9 21:24:23 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 d363f298401adec263f66a6c154cd79ca07891c8
Author: David Capello <davidcapello at gmail.com>
Date: Mon Apr 25 13:26:39 2016 -0300
Fix timeout in StatusBar::showTool()
---
src/app/ui/status_bar.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/app/ui/status_bar.cpp b/src/app/ui/status_bar.cpp
index 8dff42b..4a4c476 100644
--- a/src/app/ui/status_bar.cpp
+++ b/src/app/ui/status_bar.cpp
@@ -637,6 +637,8 @@ void StatusBar::showTool(int msecs, tools::Tool* tool)
{
ASSERT(tool != NULL);
IndicatorsGeneration(m_indicators).add(tool);
+
+ m_timeout = base::current_tick() + msecs;
}
void StatusBar::showSnapToGridWarning(bool state)
--
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