fix(scene): cfg-gate test-only refresh_pending_any to silence dead-code warning

This commit is contained in:
Karim Jerbi 2026-08-10 06:20:44 +01:00
commit de1c1798a0

View file

@ -2561,6 +2561,7 @@ impl Scene {
}
/// True while any force is still pending (never cleared falsely).
#[cfg(test)]
pub fn refresh_pending_any(&self) -> bool {
!self.pending_refresh.borrow().is_empty()
}