mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 02:44:50 +00:00
changed "fullscreen exit key combination" from esc to F11
This commit is contained in:
@@ -2,6 +2,8 @@ package org.toop.app;
|
||||
|
||||
import javafx.application.Platform;
|
||||
import javafx.scene.input.KeyCode;
|
||||
import javafx.scene.input.KeyCodeCombination;
|
||||
import javafx.scene.input.KeyCombination;
|
||||
import javafx.scene.input.KeyEvent;
|
||||
|
||||
import org.toop.app.widget.Primitive;
|
||||
@@ -87,6 +89,12 @@ public final class App extends Application {
|
||||
|
||||
setKeybinds(root);
|
||||
|
||||
stage.setFullScreenExitKeyCombination(
|
||||
new KeyCodeCombination(
|
||||
KeyCode.F11
|
||||
)
|
||||
);
|
||||
|
||||
LoadingWidget loading = new LoadingWidget(Primitive.text(
|
||||
"Loading...", false), 0, 0, Integer.MAX_VALUE, false, false // Just set a high default
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user