Skip to content

Commit 7b7cf63

Browse files
committed
Merge pull request #1 from hojberg/master
test
2 parents 2d934b2 + aaca369 commit 7b7cf63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/arrow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Arrow.prototype = {
167167
if (borderWidth > 0) {
168168
css = this._arrowCSS(
169169
this.get('borderColor'),
170-
this.get('size') + Math.round(borderWidth * 1.41421356), // cos(PI/4) * 2
170+
this.get('size') + Math.round(borderWidth * Math.sqrt(2)), // cos(PI/4) * 2
171171
'before'
172172
);
173173
}

0 commit comments

Comments
 (0)