Closed CRImier closed 5 years ago
I have made some a small change to TextReader which makes it exit on LEFT when it's in the leftmost position. The changes are in the derivmug-matrix
branch
Thank you! Now, all that's left is the Numpad*Elements
=)
NumpadCharInput calls the following method on LEFT, so I believe this might be already implemented.
`
def deactivate_if_first(self):
""" Deactivates the UI element if it hasn't yet had a character entered """
if self.position == 0:
self.deactivate()
`
ohh. why wouldn't it work then? let me see
Okay. Tested, and understood why it didn't work for me - this is fixed, thank you @derivmug =)
We have an informal UX guideline - UI elements need to exit on LEFT wherever possible. Some UI elements don't, however:
NumpadCharElement
has to exit on LEFT if the value is empty (at least until we have a cursor implemented)TextReader
should exit on LEFT when horizontal scroll is in the leftmost position