mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-24 20:10:30 -08:00
Update src/js/View.js
Fixed the missing canvas parameter of the refactored `relMouseCoords` function. Co-authored-by: Matthieu Baumann <baumannmatthieu0@gmail.com>
This commit is contained in:
@@ -455,7 +455,7 @@ export let View = (function () {
|
||||
|
||||
// various listeners
|
||||
let onDblClick = function (e) {
|
||||
var xymouse = Utils.relMouseCoords(e);
|
||||
const xymouse = Utils.relMouseCoords(view.imageCanvas, e);
|
||||
|
||||
// deselect all the selected sources with Select panel
|
||||
view.deselectObjects()
|
||||
|
||||
Reference in New Issue
Block a user