Skip to content
Snippets Groups Projects
Commit 512dcfb9 authored by baletiballo's avatar baletiballo
Browse files

actually store the rendered scroll in ActiveScroll..renderedScroll

parent 7b418000
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,7 @@ public Scroll Scroll
get => _Scroll;
set {
_Scroll = value;
RenderedScroll = value;
// initialize the assignments dictionary with the references to the required fact slots as keys
// and an empty SlotAssignment
......@@ -352,7 +353,7 @@ private IEnumerator _SendAssignments()
DynamicScrollInQue = true;
while (!SendingViewDone)
yield return null; // if we don't wait => server will crash
yield return new WaitForSecondsRealtime(0.2f); // if we don't wait => server will crash
DynamicScrollInQue = false;
yield return SendView("/scroll/dynamic");
......@@ -412,6 +413,7 @@ private void _ProcessScrollDynamicInfo(ScrollDynamicInfo scrollDynamicInfo)
void _processRenderedScroll(Scroll rendered, List<string> hintUris)
{
RenderedScroll = rendered;
OnScrollDynamicInfoUpdated.Invoke(rendered);
LatestRenderedHints = new();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment