Skip to content

Commit 4c43fd5

Browse files
committed
ref:code refactor
1 parent 1d417e4 commit 4c43fd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.enjoyhint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ CanvasRenderingContext2D.prototype.roundRect = function(x, y, w, h, r) {
950950
var distance = label_x;
951951

952952
if (summoryButtonWidth + label_x > arrowFinishX) {
953-
distance = window.innerWidth / 2 + 20;
953+
distance = label_x + label_width/2 + 20;
954954
}
955955

956956
that.$next_btn.css({

0 commit comments

Comments
 (0)