Merge pull request #4544 from fufesou/fix/blurry_image
fix blurry image, original scale, resizing window
This commit is contained in:
commit
acb4bb9d4d
@ -541,8 +541,8 @@ class _ImagePaintState extends State<ImagePaint> {
|
||||
imageWidget = Stack(
|
||||
children: [
|
||||
Positioned(
|
||||
left: c.x,
|
||||
top: c.y,
|
||||
left: c.x.toInt().toDouble(),
|
||||
top: c.y.toInt().toDouble(),
|
||||
width: c.getDisplayWidth() * s,
|
||||
height: c.getDisplayHeight() * s,
|
||||
child: Texture(textureId: widget.textureId.value),
|
||||
|
Loading…
Reference in New Issue
Block a user