Skip to content

Commit 64dedd5

Browse files
committed
Fixed issue that was introduced when converting to camel case
1 parent 877a97d commit 64dedd5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dist/cce.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cce.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939

4040
const move = () => {
4141
// Convert cursor position into percentage
42-
const x_percent = (mouse_x + options.offset_x) / window_x * 100;
43-
const y_percent = (mouse_y + options.offset_y) / window_y * 100;
42+
const x_percent = (mouse_x + options.offsetX) / window_x * 100;
43+
const y_percent = (mouse_y + options.offsetY) / window_y * 100;
4444

4545
$cursor.show().css({
4646
top: y_percent + '%',

0 commit comments

Comments
 (0)