1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-25 01:05:15 +03:00

Reduced animation speed of the logbar

This commit is contained in:
skaman82 2015-10-29 09:38:52 +01:00
parent 968e10feeb
commit b91bdc1d0b
2 changed files with 5 additions and 4 deletions

View file

@ -557,6 +557,7 @@ input[type="number"]::-webkit-inner-spin-button {
position:relative;
bottom:0px;
}
#log a {
@ -891,7 +892,7 @@ li.active .ic_mission {
overflow-y: auto;
border: 0px solid #848484; /* 1px solid #848484; */
-webkit-transform: rotateX(0deg); /* DO NOT REMOVE! this fixes the UI freezing bug on MAC OS X */
transition: all 1.0s;
transition: all 0.3s;
}
@ -904,7 +905,7 @@ li.active .ic_mission {
overflow-y: auto;
border: 0px solid #848484; /* 1px solid #848484; */
-webkit-transform: rotateX(0deg); /* DO NOT REMOVE! this fixes the UI freezing bug on MAC OS X */
transition: all 1.3s;
transition: all 0.5s;
/* Cause the height to shrink to contain its floated contents while log is open */
}

View file

@ -376,7 +376,7 @@ $(document).ready(function () {
$("#showlog").on('click', function() {
var state = $(this).data('state');
if ( state ) {
$("#log").animate({height: 27}, 800);
$("#log").animate({height: 27}, 200);
$("#log").removeClass('active');
$("#content").removeClass('logopen');
$("#tabs").removeClass('logopen');
@ -384,7 +384,7 @@ $("#showlog").on('click', function() {
state = false;
}else{
$("#log").animate({height: 111}, 800);
$("#log").animate({height: 111}, 200);
$("#log").addClass('active');
$("#content").addClass('logopen');
$("#tabs").addClass('logopen');