mirror of
https://github.com/penpot/penpot.git
synced 2026-05-01 06:08:09 +00:00
✨ Hide after-delay trigger in non-frames
This commit is contained in:
parent
9f03e353c7
commit
790d532cee
@ -153,10 +153,9 @@
|
||||
{:value (str (:event-type interaction))
|
||||
:on-change change-event-type}
|
||||
(for [[value name] (event-type-names)]
|
||||
[:option {:value (str value)
|
||||
:disabled (and (= value :after-delay)
|
||||
(not= (:type shape) :frame))}
|
||||
name])]]
|
||||
(when-not (and (= value :after-delay)
|
||||
(not= (:type shape) :frame))
|
||||
[:option {:value (str value)} name]))]]
|
||||
|
||||
; Delay
|
||||
(when (cti/has-delay interaction)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user