switch away from handles to refs that must be upgraded once
This commit is contained in:
@@ -59,7 +59,7 @@ impl<State: HasUi + StateLike<State>, O> TextBuilder<State, O> {
|
||||
TextBuilder {
|
||||
content: self.content,
|
||||
attrs: self.attrs,
|
||||
hint: move |ui: &mut State| Some(hint.add(ui).any()),
|
||||
hint: move |ui: &mut State| Some(hint.add_strong(ui).any()),
|
||||
output: self.output,
|
||||
state: PhantomData,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user