fix null error in scrollLeft()

This commit is contained in:
2022-09-18 21:11:11 +00:00
parent 576c1a43bb
commit 56d1404f42

View File

@@ -264,7 +264,8 @@
(-= controlCamera.scroll.x scrollAmount) (-= controlCamera.scroll.x scrollAmount)
(-= leftText.x scrollAmount) (-= leftText.x scrollAmount)
(-= rightText.x scrollAmount) (-= rightText.x scrollAmount)
(-= xText.x scrollAmount)))) (when xText
(-= xText.x scrollAmount)))))
(method scrollRight [] (method scrollRight []
(when (< cameraColumn (- columnWidths.length 1 )) (when (< cameraColumn (- columnWidths.length 1 ))