mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 14:55:21 +03:00
fixing height after addition of custom frame
This commit is contained in:
parent
793be64474
commit
58877b0bd2
1 changed files with 2 additions and 2 deletions
4
main.js
4
main.js
|
@ -17,10 +17,10 @@ ga_tracker.sendAppView('Application Started');
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
// set bounds (default 960x600)
|
// set bounds (default 960x600)
|
||||||
if (screen.height > 600) {
|
if (screen.height > 600) {
|
||||||
chrome.app.window.current().setBounds({width: 962, height: 627});
|
chrome.app.window.current().setBounds({width: 962, height: 629});
|
||||||
} else {
|
} else {
|
||||||
$('div#content').height(280);
|
$('div#content').height(280);
|
||||||
chrome.app.window.current().setBounds({width: 960, height: 427});
|
chrome.app.window.current().setBounds({width: 960, height: 429});
|
||||||
}
|
}
|
||||||
|
|
||||||
// bind controls
|
// bind controls
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue