fix null error when scrolling without x button

This commit is contained in:
2022-09-18 19:33:40 +00:00
parent 5fe68c428c
commit a14688e96d

View File

@@ -272,7 +272,8 @@
(+= controlCamera.scroll.x scrollAmount)
(+= leftText.x scrollAmount)
(+= rightText.x scrollAmount)
(+= xText.x scrollAmount))
(when xText
(+= xText.x scrollAmount)))
(+= cameraColumn 1)
(when (< (apply + (columnWidths.slice cameraColumn)) width)
(controls.remove rightText))