mirror of
https://github.com/aNNiMON/HotaruFX.git
synced 2024-09-19 14:14:21 +03:00
Allow only one preview window
This commit is contained in:
parent
298dc0d285
commit
b788941c3d
@ -147,6 +147,8 @@ public class EditorController implements Initializable, DocumentListener {
|
||||
logPane.setExpanded(true);
|
||||
return;
|
||||
}
|
||||
stage.initOwner(primaryStage);
|
||||
stage.initModality(Modality.WINDOW_MODAL);
|
||||
stage.setScene(composition.produceAnimationScene());
|
||||
composition.getTimeline().getFxTimeline().play();
|
||||
stage.show();
|
||||
|
Loading…
Reference in New Issue
Block a user