Skip to content

Commit

Permalink
🔥 Fix duplicate resizeChanged event
Browse files Browse the repository at this point in the history
  • Loading branch information
Xen0Xys committed Jul 30, 2024
1 parent a2ff4d4 commit 7bd8eac
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions js/models/event_handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 7bd8eac

Please sign in to comment.