Skip to content

Commit 1688e15

Browse files
committed
ref:code refactor
1 parent 8970002 commit 1688e15

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/jquery.enjoyhint.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,11 +1022,7 @@ CanvasRenderingContext2D.prototype.roundRect = function(x, y, w, h, r) {
10221022
});
10231023

10241024
setTimeout(function(){
1025-
<<<<<<< HEAD
10261025
var summoryButtonWidth = that.$next_btn.width() + that.$skip_btn.width() + 20;
1027-
=======
1028-
var summoryButtonWidth = that.$next_btn.width() + that.$skip_btn.width() + 10;
1029-
>>>>>>> 7335cea66483cc59ae039d8c2b41b881f6b4cfd2
10301026
var distance = label_x;
10311027

10321028
if (summoryButtonWidth + label_x > arrowFinishX) {
@@ -1035,11 +1031,7 @@ CanvasRenderingContext2D.prototype.roundRect = function(x, y, w, h, r) {
10351031

10361032
that.$next_btn.css({
10371033
left: distance,
1038-
<<<<<<< HEAD
10391034
top: label_y + label_height + 40
1040-
=======
1041-
top: label_y + label_height + 20
1042-
>>>>>>> 7335cea66483cc59ae039d8c2b41b881f6b4cfd2
10431035
});
10441036

10451037
var left_skip = distance + that.$next_btn.width() + 10;
@@ -1050,11 +1042,7 @@ CanvasRenderingContext2D.prototype.roundRect = function(x, y, w, h, r) {
10501042

10511043
that.$skip_btn.css({
10521044
left: left_skip,
1053-
<<<<<<< HEAD
10541045
top: label_y + label_height + 40
1055-
=======
1056-
top: label_y + label_height + 20
1057-
>>>>>>> 7335cea66483cc59ae039d8c2b41b881f6b4cfd2
10581046
});
10591047
}, 0)
10601048

0 commit comments

Comments
 (0)