fix: disable image smoothing

This commit is contained in:
trafficlunar 2024-12-04 17:45:54 +00:00
parent fd71c506c6
commit c07fb053b0

View file

@ -103,7 +103,7 @@ function App() {
scaleY={stageScale} scaleY={stageScale}
onWheel={onWheel} onWheel={onWheel}
> >
<Layer> <Layer imageSmoothingEnabled={false}>
<Text text="test" fontSize={20} fill="white" /> <Text text="test" fontSize={20} fill="white" />
<Image image={image} /> <Image image={image} />
</Layer> </Layer>