From 7319b0a7c2310e5e492b557d99ae4a79d2720ebf Mon Sep 17 00:00:00 2001 From: Wakefield Morys-Carter Date: Sat, 22 May 2021 20:46:42 +0100 Subject: [PATCH] 1.8 / fontSize --- scroll-text-legacy-browsers.js | 4 ++-- scroll-text.js | 4 ++-- scroll-text.psyexp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scroll-text-legacy-browsers.js b/scroll-text-legacy-browsers.js index 95d29d9..6252cb5 100644 --- a/scroll-text-legacy-browsers.js +++ b/scroll-text-legacy-browsers.js @@ -310,8 +310,8 @@ function trialRoutineBegin(snapshot) { moving = 0; scrollText.setPos([((- 0.45) * screenRatio), 0.45]); - maxScroll +=round(2/fontSize); - maxScroll -=120; + maxScroll +=round(1.8/fontSize); + maxScroll -=115; //.04 => 39 but needs to be 20 //.03 => 52 //.02 => 79 but needs to be 99 diff --git a/scroll-text.js b/scroll-text.js index d4a59eb..899a29a 100644 --- a/scroll-text.js +++ b/scroll-text.js @@ -320,8 +320,8 @@ function trialRoutineBegin(snapshot) { moving = 0; scrollText.setPos([((- 0.45) * screenRatio), 0.45]); - maxScroll +=round(2/fontSize); - maxScroll -=120; + maxScroll +=round(1.8/fontSize); + maxScroll -=115; //.04 => 39 but needs to be 20 //.03 => 52 //.02 => 79 but needs to be 99 diff --git a/scroll-text.psyexp b/scroll-text.psyexp index 368a451..412d7c4 100644 --- a/scroll-text.psyexp +++ b/scroll-text.psyexp @@ -143,7 +143,7 @@ - + -- 2.18.1