Fix token label not resizing on players screens
This commit is contained in:
parent
ff8d7c1547
commit
d8f5ccb6a8
@ -45,7 +45,7 @@ function TokenLabel({ tokenState, width, height }) {
|
||||
}
|
||||
|
||||
findFontSize();
|
||||
}, [width, height, tokenState, labelSize, paddingX]);
|
||||
}, [tokenState.label, width, height, tokenState, labelSize, paddingX]);
|
||||
|
||||
const [rectWidth, setRectWidth] = useState(0);
|
||||
useEffect(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user