Perf' problem when picking child objects on a "crowded" canvas #20705
-
|
Context: Code links for folks who have time to spare: Issue: All is fine as long as the puzzle does not exceed around 250 puzzle pieces (== UserControl's + VM's + Behaviours). Edit: Questions:
Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
you probably need to implement your own canvas. From my guess, it's because every drag move triggers all 1000 elements to re layout which can be expensive. |
Beta Was this translation helpful? Give feedback.
-
|
Sounds like a custom rendered control would be better here. Inherit Control and override OnRender. |
Beta Was this translation helpful? Give feedback.
-
|
Issue resolved in Avalonia V12 RC 1 |
Beta Was this translation helpful? Give feedback.
Issue resolved in Avalonia V12 RC 1