mawi1512 Posted September 14, 2018 Share Posted September 14, 2018 Hello, I have a question about browser zoom. In the example I draw a few rectangles using PIXI.Sprite, each 1 pixel wide. https://jsfiddle.net/4a5xLsk0/ At zoom level 100% all rectangles look the same (see picture 1) and animation looks fine, but on higher zoom levels (e.g. 110%) the rectangles look different (see picture 2) and the animating flickers. The behavior seems to be browser-independent. I would like to achive , that the animation looks smooth on all browser zoom levels? Is this possible? Thank you! mawi1512 100% 110% Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted September 14, 2018 Share Posted September 14, 2018 Try put this thing on canvas : https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering . Quote Link to comment Share on other sites More sharing options...
mawi1512 Posted September 14, 2018 Author Share Posted September 14, 2018 Cool, this helped me a lot. Thank you for the fast answer! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.