diff --git a/PhotoSlide/src/main/java/org/photoslide/browserlighttable/MediaLoadingTask.java b/PhotoSlide/src/main/java/org/photoslide/browserlighttable/MediaLoadingTask.java index 3260ae0..452aca1 100644 --- a/PhotoSlide/src/main/java/org/photoslide/browserlighttable/MediaLoadingTask.java +++ b/PhotoSlide/src/main/java/org/photoslide/browserlighttable/MediaLoadingTask.java @@ -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); diff --git a/PhotoSlide/src/main/java/org/photoslide/pspreloader/PSPreloader.java b/PhotoSlide/src/main/java/org/photoslide/pspreloader/PSPreloader.java index 89ea49f..034e67a 100644 --- a/PhotoSlide/src/main/java/org/photoslide/pspreloader/PSPreloader.java +++ b/PhotoSlide/src/main/java/org/photoslide/pspreloader/PSPreloader.java @@ -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);