Yurii

PIXI.js click handling is wrong on Chrome's device toolbar with not 100% zoom.

Recommended Posts

I noticed a strange issue with PIXI.js. Previously I developed in Phaser.js and such problem never happened. So, I want to handle clicks on buttons, these buttons are containers and I put hitArea into each. Problem is when I playing the game in Chrome with device toolbar and pick iPad (what does not fit into my screen), zoom mode toggles to 50% and after, all click handles in different areas. With zoom 100% everything good, but as I said, devices as iPad does not fit into my screen with 100%.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.