0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-10 17:18:21 -05:00

🐛 Fix text gradient handlers

This commit is contained in:
Aitor 2023-07-24 16:06:45 +02:00
parent d254184057
commit d83b8f29b6

View file

@ -312,8 +312,7 @@
editing-stop (:editing-stop state)] editing-stop (:editing-stop state)]
(when (and (some? gradient) (when (and (some? gradient)
(= id (:shape-id gradient)) (= id (:shape-id gradient)))
(not= (:type shape) :text))
[:& gradient-handlers* [:& gradient-handlers*
{:zoom zoom {:zoom zoom
:gradient gradient :gradient gradient