Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UFrameIT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FrameIT
UFrameIT
Commits
512dcfb9
Commit
512dcfb9
authored
1 month ago
by
baletiballo
Browse files
Options
Downloads
Patches
Plain Diff
actually store the rendered scroll in ActiveScroll..renderedScroll
parent
7b418000
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Assets/Scripts/InventoryStuff/ActiveScroll.cs
+3
-1
3 additions, 1 deletion
Assets/Scripts/InventoryStuff/ActiveScroll.cs
with
3 additions
and
1 deletion
Assets/Scripts/InventoryStuff/ActiveScroll.cs
+
3
−
1
View file @
512dcfb9
...
...
@@ -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
n
ull
;
// if we don't wait => server will crash
yield
return
n
ew
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
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment