diff options
author | Juuz <6596629+Juuxel@users.noreply.github.com> | 2022-09-06 14:15:50 +0300 |
---|---|---|
committer | Juuz <6596629+Juuxel@users.noreply.github.com> | 2022-09-06 14:15:50 +0300 |
commit | 82950d5b4a58699ae816b5279c27d344d9e98185 (patch) | |
tree | aade7f98b27ffb8a1f1666b505c606425aa91653 /GuiTest | |
parent | 2de3805158ff954b67ab8748ff4637a058599ead (diff) | |
download | LibGui-82950d5b4a58699ae816b5279c27d344d9e98185.tar.gz LibGui-82950d5b4a58699ae816b5279c27d344d9e98185.tar.bz2 LibGui-82950d5b4a58699ae816b5279c27d344d9e98185.zip |
Rework screen input methods
- Now consistent between CottonClientScreen and
CottonInventoryScreen
- Mouse methods always call super and return true
- Keyboard methods call super if there's no focus
- keyPressed calls super and does nothing else for Esc and Tab
(this was the old behaviour in CIS, now also in CCS)
- Fixed a bug where focus was released when clicking on focused
widgets because the mouse coordinates weren't offset correctly
- Fixed CIS never releasing focus
- Fixed focus checking not using isWithinBounds
- Removed pointless null checks
Diffstat (limited to 'GuiTest')
0 files changed, 0 insertions, 0 deletions