Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
Attempt to fix issue [#558]
Browse files Browse the repository at this point in the history
[Regression] Asymmetrical tip dimensions render incorrectly.
  • Loading branch information
thoughtless committed Jul 17, 2013
1 parent 645aa4e commit 110e58e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tips/tips.js
Expand Up @@ -181,8 +181,8 @@ $.extend(Tip.prototype, {

_calculateSize: function(corner) {
var y = corner.precedance === Y,
width = this.options[ y ? 'height' : 'width' ],
height = this.options[ y ? 'width' : 'height' ],
width = this.options['width'],
height = this.options['height'],
isCenter = corner.abbrev() === 'c',
base = width * (isCenter ? 0.5 : 1),
pow = Math.pow,
Expand Down

0 comments on commit 110e58e

Please sign in to comment.