Skip to content

Refactoring event attributes. #125

Open
@HexDecimal

Description

@HexDecimal

Events are a mess right now and need to be cleaned up. Multiple bad ideas need to be deprecated and removed in a way which allows for backwards compatibility.

  • Fix case in window event types as they do not match the type hints.
  • Rename mouse pixel attributes to just position and motion in preparation to removing their tile attributes.
  • Context.convert_event should return a new event with updated positions instead of editing events in place.
  • A new function needs to be added to convert coordinates when contexts are not available.
  • Deprecate tile attributes in mouse events.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions