mirror of
https://github.com/glanceapp/glance.git
synced 2025-06-22 02:41:23 +02:00
Delay showing next popover by 2 frames
This resets the CSS animation so it can be played again, otherwise it gets skipped
This commit is contained in:
parent
014abdcc00
commit
822b72eee4
@ -36,7 +36,7 @@ function handleMouseEnter(event) {
|
|||||||
if (activeTarget !== null) {
|
if (activeTarget !== null) {
|
||||||
if (activeTarget !== target) {
|
if (activeTarget !== target) {
|
||||||
hidePopover();
|
hidePopover();
|
||||||
requestAnimationFrame(showPopover);
|
requestAnimationFrame(() => requestAnimationFrame(showPopover));
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user