fixed bug in the way the tweetWidget restored itself after that the annotation
creation widget was minimized.
--- a/src/js/widgets/tweetsWidget.js Fri Dec 30 16:01:09 2011 +0100
+++ b/src/js/widgets/tweetsWidget.js Fri Dec 30 16:02:12 2011 +0100
@@ -5,7 +5,7 @@
this._displayingTweet = false;
this._timeoutId = undefined;
- this._hidden = false;
+ this._hidden = false; /* hidden means that the createAnnotationWidget is shown */
};
@@ -133,7 +133,10 @@
this.selector.hide();
this._hidden = true;
} else {
- this.selector.show();
+ if (this._displayingTweet !== false)
+ this.selector.show();
+
+
this._hidden = false;
}
};
\ No newline at end of file