mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 16:55:24 +03:00
Reduced animation speed of the logbar
This commit is contained in:
parent
968e10feeb
commit
b91bdc1d0b
2 changed files with 5 additions and 4 deletions
5
main.css
5
main.css
|
@ -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 */
|
||||
|
||||
}
|
||||
|
|
4
main.js
4
main.js
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue