Skip to content

Commit

Permalink
Scroll after a timer script is triggered
Browse files Browse the repository at this point in the history
When SetTimeout or SetTimeoutID are used, after the script has fired, Quest will scroll to the end of the text.
#1036
  • Loading branch information
ThePix authored Jun 26, 2018
1 parent beaeade commit 2de65be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion WorldModel/WorldModel/Core/CoreTimers.aslx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
SetTimerScript(timer) {
this.enabled = false
invoke (this.timeoutscript)
JS.scrollToEnd ()
destroy (this.name)
}
EnableTimer(timer)
Expand All @@ -49,4 +50,4 @@
error("The Pause function is obsolete as of Quest 5.5")
</function>

</library>
</library>

0 comments on commit 2de65be

Please sign in to comment.