Fix token resolution for high DPI screens
This commit is contained in:
parent
118878d9e1
commit
d9a4b10563
@ -71,7 +71,7 @@ function MapToken({
|
||||
tokenHeight > 0
|
||||
) {
|
||||
image.cache({
|
||||
pixelRatio: debouncedStageScale,
|
||||
pixelRatio: debouncedStageScale * window.devicePixelRatio,
|
||||
});
|
||||
image.drawHitFromCache();
|
||||
// Force redraw
|
||||
|
Loading…
Reference in New Issue
Block a user