Fix hit test for token label and status
This commit is contained in:
parent
a4a8722de0
commit
7a927959d2
@ -42,6 +42,7 @@ function TokenLabel({ tokenState, width, height }) {
|
|||||||
paddingY={paddingY}
|
paddingY={paddingY}
|
||||||
wrap="none"
|
wrap="none"
|
||||||
ellipsis={true}
|
ellipsis={true}
|
||||||
|
hitFunc={() => {}}
|
||||||
/>
|
/>
|
||||||
</Group>
|
</Group>
|
||||||
);
|
);
|
||||||
|
@ -16,6 +16,7 @@ function TokenStatus({ tokenState, width, height }) {
|
|||||||
scaleX={1 - index / 10 / tokenState.size}
|
scaleX={1 - index / 10 / tokenState.size}
|
||||||
scaleY={1 - index / 10 / tokenState.size}
|
scaleY={1 - index / 10 / tokenState.size}
|
||||||
opacity={0.8}
|
opacity={0.8}
|
||||||
|
fillEnabled={false}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
</Group>
|
</Group>
|
||||||
|
Loading…
Reference in New Issue
Block a user