mirror of
https://github.com/penpot/penpot.git
synced 2025-03-15 17:21:17 -05:00
✨ Hide after-delay trigger in non-frames
This commit is contained in:
parent
9f03e353c7
commit
790d532cee
1 changed files with 3 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue