Skip to content

Commit 67fa859

Browse files
cppartsbmatthieu3
authored andcommitted
leveraging updateRotation
1 parent 791f060 commit 67fa859

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/models/event_handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export default class EventHandler {
149149

150150
/* Rotation control */
151151
this.model.on("change:_rotation", () => {
152-
setRotation(this.model.get("_rotation"), this.aladinDiv);
152+
this.updateRotation(this.model.get("_rotation"), this.aladinDiv);
153153
// Update WCS and FoV only if this is the last div
154154
this.updateWCS();
155155
this.update2AxisFoV();

0 commit comments

Comments
 (0)