You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CommonMarkViewer::new takes a source_id: impl std::hash::Hash as an argument. I have some questions about it:
What exactly is it used for? Is it only used for the scroll cache of show_scrollable? If so, perhaps it could be moved from the constructor to show_scrollable to clarify this.
Should the Id be globally unique, or just unique within the parent Ui? That is: is it used directly, or mixed with ui.id() first?
The text was updated successfully, but these errors were encountered:
CommonMarkViewer::new
takes asource_id: impl std::hash::Hash
as an argument. I have some questions about it:What exactly is it used for? Is it only used for the scroll cache of
show_scrollable
? If so, perhaps it could be moved from the constructor toshow_scrollable
to clarify this.Should the
Id
be globally unique, or just unique within the parentUi
? That is: is it used directly, or mixed withui.id()
first?The text was updated successfully, but these errors were encountered: