mirror of
https://github.com/Xevion/glance.git
synced 2025-12-09 00:07:13 -06: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:
@@ -36,7 +36,7 @@ function handleMouseEnter(event) {
|
||||
if (activeTarget !== null) {
|
||||
if (activeTarget !== target) {
|
||||
hidePopover();
|
||||
requestAnimationFrame(showPopover);
|
||||
requestAnimationFrame(() => requestAnimationFrame(showPopover));
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user