mirror of
https://github.com/penpot/penpot.git
synced 2025-07-12 16:27:18 +02:00
✨ Add grid helpers to wasm
This commit is contained in:
parent
3624a14141
commit
0be8a6e0e6
11 changed files with 259 additions and 68 deletions
|
@ -108,6 +108,11 @@ impl<'a> State<'a> {
|
|||
&mut self.render_state
|
||||
}
|
||||
|
||||
pub fn render_from_cache(&mut self) {
|
||||
self.render_state
|
||||
.render_from_cache(&self.shapes, &self.modifiers, &self.structure);
|
||||
}
|
||||
|
||||
pub fn start_render_loop(&mut self, timestamp: i32) -> Result<(), String> {
|
||||
self.render_state.start_render_loop(
|
||||
&mut self.shapes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue