mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-19 12:49:25 +08:00
fix: 加快弹幕编辑器开关速度
This commit is contained in:
parent
32aaf98fa6
commit
3af1050525
@ -288,7 +288,7 @@ function send() {
|
||||
function close() {
|
||||
mainDiv.classList.remove('danmaku-startup');
|
||||
mainDiv.classList.add('danmaku-close');
|
||||
sleep(400).then(() => {
|
||||
sleep(200).then(() => {
|
||||
fixedUi.close(props.num);
|
||||
});
|
||||
}
|
||||
@ -411,11 +411,11 @@ onUnmounted(() => {
|
||||
}
|
||||
|
||||
.danmaku-startup {
|
||||
animation: editor-startup 0.4s ease-out 0s 1 normal forwards running;
|
||||
animation: editor-startup 0.2s ease-out 0s 1 normal forwards running;
|
||||
}
|
||||
|
||||
.danmaku-close {
|
||||
animation: editor-close 0.4s ease-in 0s 1 normal forwards running;
|
||||
animation: editor-close 0.2s ease-in 0s 1 normal forwards running;
|
||||
}
|
||||
|
||||
@keyframes editor-startup {
|
||||
|
Loading…
Reference in New Issue
Block a user