mirror of
https://github.com/penpot/penpot.git
synced 2026-09-10 22:19:19 +00:00
✨ Redunce the render throttling to 50ms of the layers-tree* component
This commit is contained in:
parent
fe9e47f947
commit
17fb1c49f8
@ -173,7 +173,7 @@
|
|||||||
[:> layers-tree* props]))
|
[:> layers-tree* props]))
|
||||||
|
|
||||||
(mf/defc filters-tree*
|
(mf/defc filters-tree*
|
||||||
{::mf/wrap [mf/memo #(mf/throttle % 200)]
|
{::mf/wrap [mf/memo #(mf/throttle % 50)]
|
||||||
::mf/private true}
|
::mf/private true}
|
||||||
[{:keys [objects parent-size]}]
|
[{:keys [objects parent-size]}]
|
||||||
(let [selected (use-selected-shapes)
|
(let [selected (use-selected-shapes)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user