mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Slow down the tray slide animation slightly
This commit is contained in:
parent
291240dd94
commit
eabfeb9502
@ -122,7 +122,7 @@ RED.tray = (function() {
|
|||||||
|
|
||||||
el.css({
|
el.css({
|
||||||
right: -(el.width()+10)+"px",
|
right: -(el.width()+10)+"px",
|
||||||
transition: "right 0.2s ease"
|
transition: "right 0.25s ease"
|
||||||
});
|
});
|
||||||
$("#workspace").scrollLeft(0);
|
$("#workspace").scrollLeft(0);
|
||||||
handleWindowResize();
|
handleWindowResize();
|
||||||
@ -200,7 +200,7 @@ RED.tray = (function() {
|
|||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
oldTray.tray.detach();
|
oldTray.tray.detach();
|
||||||
showTray(options);
|
showTray(options);
|
||||||
},200)
|
},250)
|
||||||
} else {
|
} else {
|
||||||
showTray(options);
|
showTray(options);
|
||||||
}
|
}
|
||||||
@ -231,7 +231,7 @@ RED.tray = (function() {
|
|||||||
if (done) {
|
if (done) {
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
},200)
|
},250)
|
||||||
if (stack.length === 0) {
|
if (stack.length === 0) {
|
||||||
$("#header-shade").hide();
|
$("#header-shade").hide();
|
||||||
$("#editor-shade").hide();
|
$("#editor-shade").hide();
|
||||||
|
Loading…
Reference in New Issue
Block a user