Replies: 1 comment 3 replies
-
Nevermind, clearly the shared_ptr I passed won't be updated. So question remaining is - is there any other way I can solve this? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I wanted to extend the range of a Slider. Slider is in a Renderer() that wraps it in a hbox.
How I wanted to achieve this is by swapping contents of the shared_ptr, but if I do that events don't go through it seems.
From what I see the Renderer will just store any children I pass to it, how come it doesn't just keep going if I swap the content from under the shared_ptr?
How else can I achieve this?
Beta Was this translation helpful? Give feedback.
All reactions