mirror of
https://github.com/penpot/penpot.git
synced 2025-05-27 23:06:11 +02:00
🐛 Avoid extra render calls on page initialization with wasm render (#5701)
This commit is contained in:
parent
979de39768
commit
ce67550195
3 changed files with 26 additions and 13 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue