#809 autogwow when button is hold fixed

This commit is contained in:
honfika@gmail.com
2015-02-28 22:48:58 +01:00
parent ca30321d08
commit f8385fad28
2 changed files with 2 additions and 1 deletions

View File

@@ -249,7 +249,7 @@ public class TextPanel extends JPanel {
}
private void translateX(int delta, int repeatCount) {
if (mainPanel.translateText(textTag, delta * repeatCount)) {
if (mainPanel.translateText(textTag, delta * (repeatCount + 1))) {
updateButtonsVisibility();
textTag.getSwf().clearImageCache();
mainPanel.refreshTree();