mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-12 15:49:18 -08:00
Fix unhover issue during transition between overlapping objects
This commit is contained in:
committed by
Matthieu Baumann
parent
dfd91d9632
commit
54fcfe9f2b
@@ -989,6 +989,14 @@ export let View = (function () {
|
||||
}
|
||||
}
|
||||
|
||||
if (lastHoveredObject && o != lastHoveredObject) {
|
||||
lastHoveredObject.unhover();
|
||||
|
||||
if (typeof objHoveredStopFunction === 'function') {
|
||||
objHoveredStopFunction(lastHoveredObject, xymouse);
|
||||
}
|
||||
}
|
||||
|
||||
o.hover();
|
||||
lastHoveredObject = o;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user