1.8 / fontSize

parent f205f2a3
...@@ -310,8 +310,8 @@ function trialRoutineBegin(snapshot) { ...@@ -310,8 +310,8 @@ function trialRoutineBegin(snapshot) {
moving = 0; moving = 0;
scrollText.setPos([((- 0.45) * screenRatio), 0.45]); scrollText.setPos([((- 0.45) * screenRatio), 0.45]);
maxScroll +=round(2/fontSize); maxScroll +=round(1.8/fontSize);
maxScroll -=120; maxScroll -=115;
//.04 => 39 but needs to be 20 //.04 => 39 but needs to be 20
//.03 => 52 //.03 => 52
//.02 => 79 but needs to be 99 //.02 => 79 but needs to be 99
......
...@@ -320,8 +320,8 @@ function trialRoutineBegin(snapshot) { ...@@ -320,8 +320,8 @@ function trialRoutineBegin(snapshot) {
moving = 0; moving = 0;
scrollText.setPos([((- 0.45) * screenRatio), 0.45]); scrollText.setPos([((- 0.45) * screenRatio), 0.45]);
maxScroll +=round(2/fontSize); maxScroll +=round(1.8/fontSize);
maxScroll -=120; maxScroll -=115;
//.04 => 39 but needs to be 20 //.04 => 39 but needs to be 20
//.03 => 52 //.03 => 52
//.02 => 79 but needs to be 99 //.02 => 79 but needs to be 99
......
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
<Param name="Before JS Experiment" updates="constant" val="" valType="extendedCode"/> <Param name="Before JS Experiment" updates="constant" val="" valType="extendedCode"/>
<Param name="Begin Experiment" updates="constant" val="import math" valType="extendedCode"/> <Param name="Begin Experiment" updates="constant" val="import math" valType="extendedCode"/>
<Param name="Begin JS Experiment" updates="constant" val="" valType="extendedCode"/> <Param name="Begin JS Experiment" updates="constant" val="" valType="extendedCode"/>
<Param name="Begin JS Routine" updates="constant" val="maxScroll +=round(2/fontSize);&amp;#10;maxScroll -=120;&amp;#10;//.04 =&gt; 39 but needs to be 20&amp;#10;//.03 =&gt; 52&amp;#10;//.02 =&gt; 79 but needs to be 99&amp;#10;scrollText.setAlignHoriz('left');&amp;#10;scrollText.setAlignVert('top');" valType="extendedCode"/> <Param name="Begin JS Routine" updates="constant" val="maxScroll +=round(1.8/fontSize);&amp;#10;maxScroll -=115;&amp;#10;//.04 =&gt; 39 but needs to be 20&amp;#10;//.03 =&gt; 52&amp;#10;//.02 =&gt; 79 but needs to be 99&amp;#10;scrollText.setAlignHoriz('left');&amp;#10;scrollText.setAlignVert('top');" valType="extendedCode"/>
<Param name="Begin Routine" updates="constant" val="maxScroll-=round(1.5/fontSize)-1&amp;#10;scrollText.anchorHoriz='left'&amp;#10;scrollText.anchorVert='top'&amp;#10;scrollText.alignText='left'" valType="extendedCode"/> <Param name="Begin Routine" updates="constant" val="maxScroll-=round(1.5/fontSize)-1&amp;#10;scrollText.anchorHoriz='left'&amp;#10;scrollText.anchorVert='top'&amp;#10;scrollText.alignText='left'" valType="extendedCode"/>
<Param name="Code Type" updates="None" val="Both" valType="str"/> <Param name="Code Type" updates="None" val="Both" valType="str"/>
<Param name="Each Frame" updates="constant" val="" valType="extendedCode"/> <Param name="Each Frame" updates="constant" val="" valType="extendedCode"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment