Skip to content

Commit

Permalink
Make state set position not silent (default), fixes #1077
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Jan 3, 2022
1 parent 3692ed6 commit 8ed6ba5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/io/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ dwv.io.State = function () {
// display
viewController.setWindowLevel(
data['window-center'], data['window-width']);
viewController.setCurrentPosition(
new dwv.math.Point(data.position), true);
viewController.setCurrentPosition(new dwv.math.Point(data.position));
// apply saved scale on top of current base one
var baseScale = app.getActiveLayerGroup().getBaseScale();
var scale = null;
Expand Down

0 comments on commit 8ed6ba5

Please sign in to comment.