Streamline position property of InputEvent classes #4158
Sauermann
started this conversation in
Engine Core
Replies: 1 comment 1 reply
-
Do you have a practical use case in mind for this change? Is there any use case for doing |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the
position
property of input events is defined in four different classes:This can be streamlined, so that position is defined only in a single class and here is a proposal of how to do this:
Besides the intended change, this would add Modifiers (shift, ctrl, ...) to
InputEventScreenDrag
andInputEventScreenTouch
. This would extend the functionality while simplifying the position-code.Beta Was this translation helpful? Give feedback.
All reactions