[aseprite] 83/134: Fix Timeline::hotThis() to highlight elements in the timeline correctly

Tobias Hansen thansen at moszumanska.debian.org
Sat Mar 14 17:10:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 11041c00b4a23cbf7ddccb4ffe06deed68faa2f7
Author: David Capello <davidcapello at gmail.com>
Date:   Sun Nov 30 11:25:07 2014 -0300

    Fix Timeline::hotThis() to highlight elements in the timeline correctly
---
 src/app/ui/timeline.cpp | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/app/ui/timeline.cpp b/src/app/ui/timeline.cpp
index d9e5463..8d6e533 100644
--- a/src/app/ui/timeline.cpp
+++ b/src/app/ui/timeline.cpp
@@ -1673,12 +1673,8 @@ void Timeline::hotThis(int hot_part, LayerIndex hot_layer, FrameNumber hot_frame
     }
     // Invalidate the old and new 'hot' thing.
     else {
-      invalidatePart(m_hot_part,
-        m_hot_layer,
-        m_hot_frame);
-      invalidatePart(m_hot_part,
-        m_hot_layer,
-        m_hot_frame);
+      invalidatePart(m_hot_part, m_hot_layer, m_hot_frame);
+      invalidatePart(hot_part, hot_layer, hot_frame);
     }
 
     // Draw the new 'hot' thing.

-- 
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