static size for mix diagrams and adding missing custom definition in multitype switch
parent
36bce25ba8
commit
125be0271f
|
@ -67,14 +67,14 @@
|
|||
top: 32px;
|
||||
left: 10px;
|
||||
|
||||
height: 30%; /* interactive_block height set to inherit */
|
||||
height: 95px;
|
||||
}
|
||||
#interactive_block .modelMixAirplane { /* Position airplane correctly */
|
||||
height: 35%;
|
||||
height: 115px;
|
||||
padding-left: 0px;
|
||||
}
|
||||
#interactive_block .modelMixCustom { /* Position question mark correctly */
|
||||
height: 20%; /* resize question mark */
|
||||
height: 75px;
|
||||
padding-left: 25px;
|
||||
}
|
||||
#interactive_block .heading {
|
||||
|
|
|
@ -120,6 +120,10 @@ TABS.initial_setup.initialize = function (callback) {
|
|||
str = 'Singlecopter';
|
||||
$('.modelMixDiagram').attr("src", './images/motor_order/custom.svg').addClass('modelMixCustom');
|
||||
break;
|
||||
case 22: // Custom
|
||||
str = 'Custom';
|
||||
$('.modelMixDiagram').attr("src", './images/motor_order/custom.svg').addClass('modelMixCustom');
|
||||
break;
|
||||
}
|
||||
|
||||
$('span.model').text(chrome.i18n.getMessage('initialSetupModel', [str]));
|
||||
|
|
Loading…
Reference in New Issue