Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Move events handling to the Update tree #100

@quasilyte

Description

@quasilyte

This is a reminder issue.

Right now widget.Widget handles the events inside the Render method which is a part of ebiten.Game.Draw tree.

This works OK for desktop platforms (to my knowledge), but it fails short for mobile platforms due to the touch position reset in-between the Update calls. While this touch-related issue can be fixed separately with a cludge, it would be better if we could move the logic-related code to the Update tree.

This issue should not be closed with a mobile touch-related fix. It should remain open until the real underlying problem is fixed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions