Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

Commit

Permalink
Trying to get coherent behavior concerning issue #68
Browse files Browse the repository at this point in the history
  • Loading branch information
Rainer Simon committed Aug 9, 2013
1 parent 98e1b43 commit f24032c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mediatypes/image/image.viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ annotorious.mediatypes.image.Viewer.prototype.highlightAnnotation = function(opt
this._popup.startHideTimer();

this._redraw();
this._eventsEnabled = true;
}

/**
Expand Down Expand Up @@ -210,7 +211,7 @@ annotorious.mediatypes.image.Viewer.prototype._onMouseMove = function(event) {

var self = this;
if (topAnnotation) {
this._keepHighlighted = false;
this._keepHighlighted = topAnnotation == this._currentAnnotation;

if (!this._currentAnnotation) {
// Mouse moved into annotation from empty space - highlight immediately
Expand Down

0 comments on commit f24032c

Please sign in to comment.