Skip to content

hitArea and stage transformations. #643

Description

@gskinner

Stage transformations (other than translate) do not appear to be applied to hitArea correctly. See this example:

http://jsfiddle.net/7rchubyd/4/

And this SO post:

http://stackoverflow.com/questions/31662114/displayobject-hitarea-not-relative-to-its-owner

Activity

  1. stfujnkk commented on Oct 4, 2022

    @stfujnkk

    I have a similar problem. When the canvas is scrolled, the coordinates(stage.mouseX, stage.mouseY) of the mouse relative to the canvas are not updated.

  2. stfujnkk commented on Oct 4, 2022

    @stfujnkk

    Do you have plans to fix this bug?

  3. dijitaletkinlikler commented on Oct 4, 2022

    @dijitaletkinlikler

    I suggest you look into zimjs built on createjs. @danzen might answer your question.

    https://zimjs.com/

  4. stfujnkk commented on Oct 5, 2022

    @stfujnkk

    I suggest you look into zimjs built on createjs. @danzen might answer your question.

    https://zimjs.com/

    Thank you for your advice. I find this problem is different from mine.I have solved it by other methods

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions