refactor: add widget call stack tracing for render continuations
This commit is contained in:
parent
c3cf5ea02f
commit
ef60a95d55
1 changed files with 4 additions and 1 deletions
|
|
@ -203,7 +203,10 @@ pub fn update(self: Self) void {
|
|||
}
|
||||
|
||||
pub fn render(self: Self, theme: *const Theme) bool {
|
||||
return self.vtable.render(self.ptr, theme);
|
||||
const more = self.vtable.render(self.ptr, theme);
|
||||
if (more)
|
||||
tp.trace(tp.channel.widget, .{ "continue_by", self.vtable.type_name });
|
||||
return more;
|
||||
}
|
||||
|
||||
pub fn resize(self: Self, pos: Box) void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue