Fix hit test for token label and status

This commit is contained in:
Mitchell McCaffrey 2020-05-29 07:50:03 +10:00
parent a4a8722de0
commit 7a927959d2
2 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@ function TokenLabel({ tokenState, width, height }) {
paddingY={paddingY}
wrap="none"
ellipsis={true}
hitFunc={() => {}}
/>
</Group>
);

View File

@ -16,6 +16,7 @@ function TokenStatus({ tokenState, width, height }) {
scaleX={1 - index / 10 / tokenState.size}
scaleY={1 - index / 10 / tokenState.size}
opacity={0.8}
fillEnabled={false}
/>
))}
</Group>