Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
vadere
vadere
Commits
a18789b5
Commit
a18789b5
authored
Oct 16, 2019
by
Benedikt Zoennchen
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix JSlider bug in AdjustPanel for the postVis.
parent
ebcdabc9
Pipeline
#164973
passed with stages
in 142 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
VadereGui/src/org/vadere/gui/postvisualization/view/AdjustPanel.java
...rc/org/vadere/gui/postvisualization/view/AdjustPanel.java
+2
-2
No files found.
VadereGui/src/org/vadere/gui/postvisualization/view/AdjustPanel.java
View file @
a18789b5
...
...
@@ -114,7 +114,7 @@ public class AdjustPanel extends JPanel implements Observer {
SwingUtilities
.
invokeLater
(()
->
{
synchronized
(
model
)
{
// update view
slider
.
setValueIsAdjusting
(
true
);
//
slider.setValueIsAdjusting(true);
if
(
model
.
hasOutputChanged
())
{
slider
.
setMaximum
(
model
.
getLastStep
());
slider
.
setMinimum
(
model
.
getFirstStep
());
...
...
@@ -126,7 +126,7 @@ public class AdjustPanel extends JPanel implements Observer {
sVisTimeStepLength
.
setValue
(
model
.
getVisTimeStepLength
());
sTime
.
setValue
(
model
.
getSimTimeInSec
());
//((SpinnerNumberModel)sModelTime).setStepSize(model.getSimTimeInSec());
slider
.
setValueIsAdjusting
(
false
);
//
slider.setValueIsAdjusting(false);
}
});
}
...
...
Benedikt Kleinmeier
@hm-kleinmei
mentioned in issue
#270 (closed)
·
Oct 22, 2019
mentioned in issue
#270 (closed)
mentioned in issue #270
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment