From 7bd8eac0b839901b45c35a5ff440f45a6dd4631a Mon Sep 17 00:00:00 2001 From: Xen0Xys Date: Tue, 30 Jul 2024 11:34:04 +0200 Subject: [PATCH] :fire: Fix duplicate resizeChanged event --- js/models/event_handler.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/js/models/event_handler.js b/js/models/event_handler.js index 86815224..9a002a9a 100644 --- a/js/models/event_handler.js +++ b/js/models/event_handler.js @@ -169,16 +169,6 @@ export default class EventHandler { this.model.save_changes(); }); - this.aladin.on("resizeChanged", () => { - this.model.set("_wcs", this.aladin.getViewWCS()); - const fov_xy = this.aladin.getFov(); - this.model.set("_fov_xy", { - x: fov_xy[0], - y: fov_xy[1], - }); - this.model.save_changes(); - }); - this.aladin.on("objectHovered", (object) => { if (object["data"] !== undefined) { this.model.send({