From febbabd8e4d78b33ec6b4dfe08dae4caf7f255b6 Mon Sep 17 00:00:00 2001 From: iobyte Date: Wed, 6 Dec 2023 17:38:08 +0000 Subject: [PATCH] trackeditor: fix unexpected segment length changes git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9224 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 9d3afaf0c1b289e98caf890a5ddbf69ee82d20ec Former-commit-id: eefc87be96d2af6bae0679b46fedd17622b5946b --- src/tools/trackeditor/gui/segment/SegmentSlider.java | 2 +- src/tools/trackeditor/utils/Properties.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/trackeditor/gui/segment/SegmentSlider.java b/src/tools/trackeditor/gui/segment/SegmentSlider.java index f86471b5d..990ee5a88 100644 --- a/src/tools/trackeditor/gui/segment/SegmentSlider.java +++ b/src/tools/trackeditor/gui/segment/SegmentSlider.java @@ -484,8 +484,8 @@ public class SegmentSlider extends JPanel { getTextField().setText(nf.format(value)); getTextField().setCaretPosition(0); + valueChanged(); } - valueChanged(); } public synchronized void removeSliderListener(SliderListener l) diff --git a/src/tools/trackeditor/utils/Properties.java b/src/tools/trackeditor/utils/Properties.java index 4ab657134..33ee3dde5 100644 --- a/src/tools/trackeditor/utils/Properties.java +++ b/src/tools/trackeditor/utils/Properties.java @@ -34,7 +34,7 @@ public class Properties private static Properties instance = new Properties(); private Vector propertiesListeners = new Vector(); public final String title = "sd2-trackeditor"; - public final String version = "1.3.27"; + public final String version = "1.3.28"; private String path; private double imageScale = 1;