Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
Scroll Text
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VESPR
Scroll Text
Commits
b3a65993
Commit
b3a65993
authored
May 22, 2021
by
Wakefield Morys-Carter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove maxScroll adjustment online
parent
092da935
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
scroll-text-legacy-browsers.js
scroll-text-legacy-browsers.js
+1
-1
scroll-text.js
scroll-text.js
+1
-1
scroll-text.psyexp
scroll-text.psyexp
+1
-1
No files found.
scroll-text-legacy-browsers.js
View file @
b3a65993
...
...
@@ -298,7 +298,7 @@ function trialRoutineBegin(snapshot) {
moving
=
0
;
scrollText
.
setPos
([((
-
0.45
)
*
screenRatio
),
0.45
]);
maxScroll
-=
(
round
((
1.6
/
fontSize
))
-
1
);
//
maxScroll -= (round((1.6 / fontSize)) - 1);
scrollText
.
setAlignHoriz
(
'left'
);
scrollText
.
setAlignVert
(
'top'
);
// keep track of which components have finished
...
...
scroll-text.js
View file @
b3a65993
...
...
@@ -308,7 +308,7 @@ function trialRoutineBegin(snapshot) {
moving
=
0
;
scrollText
.
setPos
([((
-
0.45
)
*
screenRatio
),
0.45
]);
maxScroll
-=
(
round
((
1.6
/
fontSize
))
-
1
);
//
maxScroll -= (round((1.6 / fontSize)) - 1);
scrollText
.
setAlignHoriz
(
'left'
);
scrollText
.
setAlignVert
(
'top'
);
// keep track of which components have finished
...
...
scroll-text.psyexp
View file @
b3a65993
...
...
@@ -143,7 +143,7 @@
<Param
name=
"Before JS Experiment"
updates=
"constant"
val=
""
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 Routine"
updates=
"constant"
val=
"maxScroll -= (round((1.6 / fontSize)) - 1);&#10;scrollText.setAlignHoriz('left');&#10;scrollText.setAlignVert('top');"
valType=
"extendedCode"
/>
<Param
name=
"Begin JS Routine"
updates=
"constant"
val=
"
//
maxScroll -= (round((1.6 / fontSize)) - 1);&#10;scrollText.setAlignHoriz('left');&#10;scrollText.setAlignVert('top');"
valType=
"extendedCode"
/>
<Param
name=
"Begin Routine"
updates=
"constant"
val=
"maxScroll-=round(1.5/fontSize)-1&#10;scrollText.anchorHoriz='left'&#10;scrollText.anchorVert='top'&#10;scrollText.alignText='left'"
valType=
"extendedCode"
/>
<Param
name=
"Code Type"
updates=
"None"
val=
"Both"
valType=
"str"
/>
<Param
name=
"Each Frame"
updates=
"constant"
val=
""
valType=
"extendedCode"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment