kittykatattack / tink

A set of sprite interactivity tools for Pixi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AntiAlias issue when use tink with scaleToWindow

linyan79 opened this issue · comments

I use tink with scaleToWindow together. However if the window is resized, the sprite shows bad with wrong anti-alias way after it's dragged.
I changed line 129 and 132 and fix the issue.
get x() {
return Math.round(this._x / this.scale);
},
get y() {
return Math.round(this._y / this.scale);
},