diff --git a/fyrox-ui/src/scroll_viewer.rs b/fyrox-ui/src/scroll_viewer.rs index 37830ae6b..c6b87a828 100644 --- a/fyrox-ui/src/scroll_viewer.rs +++ b/fyrox-ui/src/scroll_viewer.rs @@ -312,6 +312,7 @@ impl Control for ScrollViewer { if message.destination() == self.handle() { match msg { ScrollViewerMessage::Content(content) => { + self.content = *content; for child in ui[self.scroll_panel].children() { ui.send(*child, WidgetMessage::Remove); }