Fix token menu appearing on drag of locked token

This commit is contained in:
Mitchell McCaffrey 2021-08-05 14:59:40 +10:00
parent 4ca9353cd9
commit 26f91dbb8f

View File

@ -217,7 +217,7 @@ function Token({
}
function handleClick() {
if (selectable && tokenRef.current) {
if (selectable && draggable && tokenRef.current) {
onTokenMenuOpen(tokenState.id, tokenRef.current);
}
}