Begin porting the PaneAxis element
This commit is contained in:
parent
c7e19c0bcd
commit
25df11dd26
8 changed files with 564 additions and 407 deletions
|
@ -57,8 +57,12 @@ where
|
|||
T: 'static,
|
||||
E: 'static + Debug,
|
||||
{
|
||||
#[track_caller]
|
||||
pub fn detach_and_log_err(self, cx: &mut AppContext) {
|
||||
cx.foreground_executor().spawn(self.log_err()).detach();
|
||||
let location = core::panic::Location::caller();
|
||||
cx.foreground_executor()
|
||||
.spawn(self.log_tracked_err(*location))
|
||||
.detach();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue