mirror of
https://github.com/penpot/penpot.git
synced 2025-03-31 09:01:20 -05:00
♻️ Remove unneeded display list for shapes
This commit is contained in:
parent
49b4eabe8b
commit
669bca5fa5
1 changed files with 0 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
|||
use skia_safe as skia;
|
||||
use std::collections::HashMap;
|
||||
use std::vec::Vec;
|
||||
use uuid::Uuid;
|
||||
|
||||
use crate::render::RenderState;
|
||||
|
@ -16,7 +15,6 @@ pub(crate) struct State<'a> {
|
|||
pub current_id: Option<Uuid>,
|
||||
pub current_shape: Option<&'a mut Shape>,
|
||||
pub shapes: HashMap<Uuid, Shape>,
|
||||
pub display_list: Vec<Uuid>,
|
||||
}
|
||||
|
||||
impl<'a> State<'a> {
|
||||
|
@ -26,7 +24,6 @@ impl<'a> State<'a> {
|
|||
current_id: None,
|
||||
current_shape: None,
|
||||
shapes: HashMap::with_capacity(capacity),
|
||||
display_list: Vec::with_capacity(capacity),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue