Skip to content

Commit

Permalink
Merge pull request ProjectMirador#1052 from IIIF/annotation-work
Browse files Browse the repository at this point in the history
check current state when switching between manifests
  • Loading branch information
rsinghal authored Aug 13, 2016
2 parents 04672ab + 2bf884f commit 2551f34
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/src/widgets/imageView.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,11 @@
});

_this.eventEmitter.subscribe('SET_STATE_MACHINE_POINTER.' + _this.windowId, function(event) {
_this.hud.annoState.choosePointer();
if (_this.hud.annoState.current === 'off') {
_this.hud.annoState.displayOn();
} else {
_this.hud.annoState.choosePointer();
}
});
//Related to Annotations HUD
},
Expand Down

0 comments on commit 2551f34

Please sign in to comment.