Fix token label not resizing on players screens

This commit is contained in:
Mitchell McCaffrey 2021-01-28 17:10:26 +11:00
parent ff8d7c1547
commit d8f5ccb6a8

View File

@ -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(() => {