diff --git a/scroll-text-legacy-browsers.js b/scroll-text-legacy-browsers.js
index fccbd36d067c7aee8674df232cc6eef311b61932..373262abe0af163a94c84e1ebfe4a2c2a4ff9504 100644
--- a/scroll-text-legacy-browsers.js
+++ b/scroll-text-legacy-browsers.js
@@ -367,7 +367,8 @@ function trialRoutineEachFrame(snapshot) {
dragging = 1;
mouseY = mouse.getPos()[1];
} else {
- scroll += ((mouse.getPos()[1] - mouseY) / 1.08);
+ scroll += (((mouse.getPos()[1] - mouseY) / fontSize) / 1.08);
+ mouseY = mouse.getPos()[1];
moving = 1;
}
} else {
diff --git a/scroll-text.js b/scroll-text.js
index eb016fb4812720d433d23d7b19c6d0f7aa7c9f4f..c24cac9aef86457a0f239153c1c00063d526a2a6 100644
--- a/scroll-text.js
+++ b/scroll-text.js
@@ -376,7 +376,8 @@ function trialRoutineEachFrame(snapshot) {
dragging = 1;
mouseY = mouse.getPos()[1];
} else {
- scroll += ((mouse.getPos()[1] - mouseY) / 1.08);
+ scroll += (((mouse.getPos()[1] - mouseY) / fontSize) / 1.08);
+ mouseY = mouse.getPos()[1];
moving = 1;
}
} else {
diff --git a/scroll-text.psyexp b/scroll-text.psyexp
index bea34a3d7313a7e52bf45905344e7cfdf803a7cc..94bc3c5a61c029ea0c08a97092f1049b66b4ccad 100644
--- a/scroll-text.psyexp
+++ b/scroll-text.psyexp
@@ -79,8 +79,8 @@
-
-
+
+