Skip to content

Commit

Permalink
Startup animation shortend because of fixes for collections framework
Browse files Browse the repository at this point in the history
  • Loading branch information
lanthale committed Nov 19, 2023
1 parent 6415df8 commit b87acf7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ protected MediaFile call() throws Exception {
m.setMediaType(MediaFile.MediaTypes.NONE);
}
}
} else {
//calc hash and compare, if different load data from disk
// loaditem with check
fullMediaList.get(fullMediaList.indexOf(m)).readEdits();
}
if (cacheList.contains(m) == false) {
cacheList.add(m);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void start(Stage stage) throws Exception {
@Override
public void handleStateChangeNotification(StateChangeNotification scn) {
if (scn.getType() == StateChangeNotification.Type.BEFORE_START) {
FadeTransition fadeOut = new FadeTransition(Duration.seconds(2), createPreloaderScene.getRoot());
FadeTransition fadeOut = new FadeTransition(Duration.seconds(1), createPreloaderScene.getRoot());
fadeOut.setFromValue(1);
fadeOut.setToValue(0);
fadeOut.setCycleCount(1);
Expand Down

0 comments on commit b87acf7

Please sign in to comment.