Merge remote-tracking branch 'misskey-original/develop' into develop
This commit is contained in:
commit
b3084f45b4
34 changed files with 508 additions and 135 deletions
|
|
@ -147,11 +147,13 @@ const onGlobalMousedown = (event: MouseEvent) => {
|
|||
};
|
||||
|
||||
let childCloseTimer: null | number = null;
|
||||
|
||||
function onItemMouseEnter(item) {
|
||||
childCloseTimer = window.setTimeout(() => {
|
||||
closeChild();
|
||||
}, 300);
|
||||
}
|
||||
|
||||
function onItemMouseLeave(item) {
|
||||
if (childCloseTimer) window.clearTimeout(childCloseTimer);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue