mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-01-26 02:11:10 +00:00
update javafx to 23.0.1
This commit is contained in:
parent
ee5015f0d5
commit
25f441a6a8
2 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,7 @@ tasks.withType(AbstractArchiveTask) {
|
|||
}
|
||||
|
||||
javafx {
|
||||
version = headless ? "18" : "22"
|
||||
version = headless ? "18" : "23.0.1"
|
||||
modules = [ 'javafx.controls', 'javafx.fxml', 'javafx.swing', 'javafx.graphics' ]
|
||||
}
|
||||
|
||||
|
|
|
@ -274,7 +274,7 @@ public class AppController implements Initializable {
|
|||
}
|
||||
|
||||
void initializeView() {
|
||||
setPlatformApplicationMenu();
|
||||
Platform.runLater(this::setPlatformApplicationMenu);
|
||||
|
||||
rootStack.getScene().getWindow().setOnHiding(windowEvent -> {
|
||||
if(searchWalletDialog != null && searchWalletDialog.isShowing()) {
|
||||
|
@ -450,7 +450,7 @@ public class AppController implements Initializable {
|
|||
OsType osType = OsType.getCurrent();
|
||||
if(osType == OsType.MACOS) {
|
||||
MenuToolkit tk = MenuToolkit.toolkit();
|
||||
MenuItem preferences = new MenuItem("Preferences...");
|
||||
MenuItem preferences = new MenuItem("Settings...");
|
||||
preferences.setOnAction(this::openPreferences);
|
||||
preferences.setAccelerator(new KeyCodeCombination(KeyCode.COMMA, KeyCombination.META_DOWN));
|
||||
Menu defaultApplicationMenu = new Menu("Apple", null, tk.createAboutMenuItem(SparrowWallet.APP_NAME, getAboutStage()), new SeparatorMenuItem(),
|
||||
|
|
Loading…
Reference in a new issue