Commit 05efa1ec authored by Dan Rossi's avatar Dan Rossi
Browse files

- #58 tooltip offset position was switched from right to left, required to...

- #58 tooltip offset position was switched from right to left, required to changed it back, or else longer tooltips with hooks hover over other areas.
parent 634759e7
...@@ -342,12 +342,12 @@ package org.flowplayer.ui.tooltips { ...@@ -342,12 +342,12 @@ package org.flowplayer.ui.tooltips {
private function setOffset():void { private function setOffset():void {
switch( this._align ){ switch( this._align ){
case "left": case "right":
this._offSet = - _defaultWidth + ( _buffer * 6 ) + this._hookSize; this._offSet = - _defaultWidth + ( _buffer * 6 ) + this._hookSize;
this._hookOffSet = this._defaultWidth - ( _buffer * 6 ) - this._hookSize; this._hookOffSet = this._defaultWidth - ( _buffer * 6 ) - this._hookSize;
break; break;
case "right": case "left":
this._offSet = 0 - ( _buffer * 6 ) - this._hookSize; this._offSet = 0 - ( _buffer * 6 ) - this._hookSize;
this._hookOffSet = _buffer * 6 + this._hookSize; this._hookOffSet = _buffer * 6 + this._hookSize;
break; break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment