debug: add some more trace-level logging to animation and safetyui bits

This commit is contained in:
2025-12-22 14:57:25 +01:00
parent ea851f4b5a
commit d9fd112ee0
2 changed files with 11 additions and 5 deletions

View File

@@ -139,8 +139,9 @@ impl<S: Surface> DerefMut for AnimatedSurface<S> {
}
}
impl<S: Surface> From<S> for AnimatedSurface<S> {
impl<S: Surface + Debug> From<S> for AnimatedSurface<S> {
fn from(surface: S) -> Self {
trace!("create anim surface={surface:?}");
AnimatedSurface {
surface,
is_on: false,