redraw preview on zoom, font name cache key fixed when the font name is different from the name in the assigned DefineFontNameTag

This commit is contained in:
honfika@gmail.com
2014-12-19 12:36:23 +01:00
parent cf30dc8ba0
commit faafbb2c28
2 changed files with 3 additions and 1 deletions

View File

@@ -415,6 +415,7 @@ public final class ImagePanel extends JPanel implements ActionListener, MediaDis
@Override
public synchronized void zoom(double zoom) {
this.zoom = zoom;
shouldDraw.set(true);
}
@Override
@@ -491,6 +492,7 @@ public final class ImagePanel extends JPanel implements ActionListener, MediaDis
time = 0;
drawReady = false;
shouldDraw.set(true);
play();
}