Merge pull request #36 from yaroslav4167/patch-1

Disable resizable button
This commit is contained in:
Gravit 2018-10-22 18:55:34 +07:00 committed by GitHub
commit 82858575c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,9 @@ var LauncherApp = Java.extend(JSApplication, {
}, start: function(primaryStage) { }, start: function(primaryStage) {
stage = primaryStage; stage = primaryStage;
stage.setTitle(config.title); stage.setTitle(config.title);
// Disable resizable button
stage.setResizable(false);
// Set icons // Set icons
for each (var icon in config.icons) { for each (var icon in config.icons) {