🐛 Avoid extra render calls on page initialization with wasm render (#5701)

This commit is contained in:
Alejandro 2025-01-29 10:50:27 +01:00 committed by GitHub
parent 979de39768
commit ce67550195
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 26 additions and 13 deletions

View file

@ -67,6 +67,5 @@ impl<'a> State<'a> {
pub fn set_background_color(&mut self, color: skia::Color) {
self.render_state.set_background_color(color);
self.render_all(true);
}
}