1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

handle small screen resolutions more gracefully

fixes #16
This commit is contained in:
cTn 2013-12-18 14:57:27 +01:00
parent 078d305259
commit ad8304f7a8
12 changed files with 143 additions and 134 deletions

View file

@ -1,11 +1,7 @@
function start_app() {
chrome.app.window.create('main.html', {
frame: 'chrome',
id: 'main-window',
minWidth: 960,
maxWidth: 960,
minHeight: 600,
maxHeight: 600
resizable: false
}, function(window_child) {
window_child.onClosed.addListener(function() {
// connectionId is passed from the script side through the chrome.runtime.getBackgroundPage refference