Permalink
Browse files

Fix kanji popup component highlighting

Sometimes component was not correctly highlighted or highlighting was
slow because we relied on the animation timer to update the canvas.
  • Loading branch information...
1 parent b44fb8e commit 0500ac947f73899a847ab85e20e0387d00343f6a @Gnurou committed Apr 6, 2012
Showing with 4 additions and 2 deletions.
  1. +3 −0 Changelog
  2. +1 −2 src/gui/kanjidic2/KanjiPlayer.cc
View
@@ -1,3 +1,6 @@
+0.9.4 released on
+* Fixed some issues with kanji popup component highlighting
+
0.9.3 released on 2012/04/01
* Update JLPT lists to follow new N* scheme (thanks to the JLPT
Resources Page: http://www.tanos.co.uk/jlpt/)
@@ -196,8 +196,7 @@ void KanjiPlayer::highlightComponent(const KanjiComponent *component)
{
if (component == _highlightedComponent) return;
_highlightedComponent = component;
- // Only schedule a redraw if the animation is stopped
- if (!_timer.isActive()) update();
+ update();
}
void KanjiPlayer::unHighlightComponent()

0 comments on commit 0500ac9

Please sign in to comment.