diff --git a/tabs/motors.css b/tabs/motors.css index ff6524b9..f3432b16 100644 --- a/tabs/motors.css +++ b/tabs/motors.css @@ -215,7 +215,7 @@ width: 100%; height: 100px; box-shadow: inset 0 0 5px rgba(0,0,0,0.2); - background-color: #D4D4D4; + background-color: #E0E0E0; border-radius: 3px; border: 1px solid #F5F5F5; diff --git a/tabs/motors.js b/tabs/motors.js index 87766795..0d21777a 100644 --- a/tabs/motors.js +++ b/tabs/motors.js @@ -449,7 +449,7 @@ TABS.motors.initialize = function (callback) { color = parseInt(data * 0.009); $('.motor-' + i + ' .label', motors_wrapper).text(MOTOR_DATA[i]); - $('.motor-' + i + ' .indicator', motors_wrapper).css({'margin-top' : margin_top + 'px', 'height' : height + 'px', 'background-color' : 'rgba(89,170,41,0.'+ color +')'}); + $('.motor-' + i + ' .indicator', motors_wrapper).css({'margin-top' : margin_top + 'px', 'height' : height + 'px', 'background-color' : 'rgba(89,170,41,1.'+ color +')'}); } // servo indicators are still using old (not flexible block scale), it will be changed in the future accordingly @@ -460,7 +460,7 @@ TABS.motors.initialize = function (callback) { color = parseInt(data * 0.009); $('.servo-' + i + ' .label', servos_wrapper).text(SERVO_DATA[i]); - $('.servo-' + i + ' .indicator', servos_wrapper).css({'margin-top' : margin_top + 'px', 'height' : height + 'px', 'background-color' : 'rgba(89,170,41,0.'+ color +')'}); + $('.servo-' + i + ' .indicator', servos_wrapper).css({'margin-top' : margin_top + 'px', 'height' : height + 'px', 'background-color' : 'rgba(89,170,41,1'+ color +')'}); } }