From 669bca5fa53c28626a76bca8ebbc1a74d6b4c069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Albeza?= Date: Wed, 13 Nov 2024 10:59:03 +0100 Subject: [PATCH] :recycle: Remove unneeded display list for shapes --- render-wasm/src/state.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/render-wasm/src/state.rs b/render-wasm/src/state.rs index 3fdb427d7..b52387f00 100644 --- a/render-wasm/src/state.rs +++ b/render-wasm/src/state.rs @@ -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, pub current_shape: Option<&'a mut Shape>, pub shapes: HashMap, - pub display_list: Vec, } 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), } }