Action icon context menu (#5075)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2024-03-27 15:29:05 +05:00 committed by GitHub
parent 7b4db2e94d
commit 4bcdedfa06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,6 +36,7 @@
use:tooltip={{ label, direction, props: labelProps }}
tabindex="0"
on:click|stopPropagation|preventDefault={action}
on:contextmenu
{disabled}
>
<div class="icon {size}" class:invisible>