Skip to content

Commit

Permalink
bug fix: docking was using current toolbar rather than toolbar size a…
Browse files Browse the repository at this point in the history
…ppropriate for the docking locking being compared
  • Loading branch information
dound committed Dec 7, 2008
1 parent c40f20f commit f2dcbcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jtoolbar.js
Expand Up @@ -1838,8 +1838,8 @@ var JTB = function() {
}
var cw = container.offsetWidth;
var ch = container.offsetHeight;
var tw = this.sz_tb.getPreferredWidth();
var th = this.sz_tb.getPreferredHeight();
var tw = this.sz_tb.vert_orient_width;
var th = this.sz_tb.horiz_orient_height;

/* compute distance to the docking locations */
var dl = distanceSqToRectangle(x, y, 0, 0, tw, ch);
Expand Down

0 comments on commit f2dcbcf

Please sign in to comment.