1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 08:15:22 +03:00

Merge pull request #810 from McGiverGim/bf-add_window_title

Add Betaflight Configurator as window title
This commit is contained in:
Michael Keller 2017-12-22 18:35:30 +13:00 committed by GitHub
commit 07bdeb65e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -2,6 +2,10 @@
"translation_version": { "translation_version": {
"message": "0" "message": "0"
}, },
"windowTitle": {
"message": "Betaflight Configurator",
"description": "Title of the application window, usually not translated"
},
"warningTitle": { "warningTitle": {
"message": "Warning" "message": "Warning"
}, },

View file

@ -9,6 +9,7 @@ function startApplication() {
chrome.app.window.create('main.html', { chrome.app.window.create('main.html', {
id: 'main-window', id: 'main-window',
frame: 'chrome', frame: 'chrome',
title: chrome.i18n.getMessage('windowTitle'),
innerBounds: { innerBounds: {
minWidth: 1024, minWidth: 1024,
minHeight: 550 minHeight: 550