When a Path2D
instance is within a frame within a ScrollingFrame
but outside the viewport bounds, it fails to render when scrolled back into view.
Disabling and enabling the Visible
property on the ScrollingFrame
allows the path to render, but not a path that’s within a CanvasGroup
. You have to manually update the Visible
property on the CanvasGroup
or the Path2D
instance.
Repro file:
Place1.rbxl (65.9 KB)
For some reason, in my game, I must constantly flip-flop the ZIndex
property of my paths each time the CanvasPosition
property changes to force them to render in my scrolling frames (they’re in SurfaceGuis). Toggling the Visible
property to false and back to true doesn’t work.