Skip to content

Commit

Permalink
Set Stage always on top
Browse files Browse the repository at this point in the history
A test can fail if a mouse interaction is involved and the stage is not in front.
  • Loading branch information
Jugen authored Aug 26, 2019
1 parent e90c3a9 commit bbe19c2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public void start(Stage stage) throws Exception {
scene = new Scene(area);
this.stage = stage;

stage.setAlwaysOnTop(true);
stage.setScene(scene);
stage.setWidth(400);
stage.setHeight(400);
Expand Down

0 comments on commit bbe19c2

Please sign in to comment.