0
Fork 0
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:
Belén Albeza 2024-11-13 10:59:03 +01:00
parent 49b4eabe8b
commit 669bca5fa5

View file

@ -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),
}
}