fix null error when scrolling without x button
This commit is contained in:
@@ -272,7 +272,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)))
|
||||||
(+= cameraColumn 1)
|
(+= cameraColumn 1)
|
||||||
(when (< (apply + (columnWidths.slice cameraColumn)) width)
|
(when (< (apply + (columnWidths.slice cameraColumn)) width)
|
||||||
(controls.remove rightText))
|
(controls.remove rightText))
|
||||||
|
Reference in New Issue
Block a user