我正在使用 react-konva
当我渲染一个<Stage />
宽度为:750 的元素时,它将渲染一个<canvas />
宽度为 750 * devicePixelRatio的元素
<Stage width={750} />
将呈现(在 iPhone 7 中)
<canvas width="1500" />
如何禁用此行为?
我正在使用 react-konva
当我渲染一个<Stage />
宽度为:750 的元素时,它将渲染一个<canvas />
宽度为 750 * devicePixelRatio的元素
<Stage width={750} />
将呈现(在 iPhone 7 中)
<canvas width="1500" />
如何禁用此行为?