mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 10:56:13 +02:00
🎉 Improve performace for zoom and pan with wasm render
This commit is contained in:
parent
7b57509d2d
commit
ec8799d806
5 changed files with 84 additions and 14 deletions
|
@ -1,6 +1,9 @@
|
|||
#[derive(Debug, Clone, Copy)]
|
||||
pub(crate) struct View
|
||||
{
|
||||
pub x: f32,
|
||||
pub y: f32,
|
||||
pub zoom: f32,
|
||||
pub width: f32,
|
||||
pub height: f32,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue