Releases: CottonMC/LibGui
Releases · CottonMC/LibGui
LibGui 6.1.0 for 1.19.x
Repository version: 6.1.0+1.19
Added
- Stabilised observable properties, including
ObservableProperty
,ObservableView
andWWidget.hovered
Changed
- Refactors to mouse and keyboard input methods in screens (#173)
- Input methods are now consistent between the screen classes
- Keyboard methods call super methods in
(Handled)Screen
if there's no focused widget - Removed null checks with fallbacks, a null root panel crashes because it's not a valid state
- The check for releasing focus on mouse clicks and
WPanel.hit
now useWWidget.isWithinBounds
instead of coordinate comparisons for checking if the cursor is inside a widget - Minor javadoc improvements
- Better output for the
@properties
tag(let)- Now generates a "frame" around it like the other summary sections
- Now has the property visibility and type in the table
- Yarn javadoc is linked again
- Better output for the
Fixed
- Incompatibility with EMI due to missing super method calls for inputs
CottonClientScreen
now never delivers Esc and Tab key press events to widgets (this was already the case inCottonInventoryScreen
)- A bug where focus was released in
CottonClientScreen
when clicking on focused widgets because the mouse coordinates weren't offset correctly CottonInventoryScreen
never releasing focus when clicking outside the focused widget's bounds- Unfocusing item slots not resetting the focused slot to -1
6.0.1 for 1.19-1.19.2
6.0.0 for 1.19
6.0.0 Beta 5 for 1.19-pre1
Repository version: 6.0.0-beta.5+1.19-pre1
Fixed
- Tab panels looking awful and broken
5.4.2 for 1.18.2
Repository version: 5.4.2+1.18.2
Fixed
- Tab panels looking awful and broken
6.0.0 Beta 4 for 1.19-pre1
Repository version: 6.0.0-beta.4+1.19-pre1
Fixed
WBox.add
checking its owncanResize
instead of the added widget'scanResize
, leading to layout errors (#162)
5.4.1 for 1.18.2
Repository version: 5.4.1+1.18.2
Fixed
WBox.add
checking its owncanResize
instead of the added widget'scanResize
, leading to layout errors (#162)
6.0.0 Beta 3 for 1.19 Pre-Release 1
Repository version: 6.0.0-beta.3+1.19-pre1
Changed
- Now runs on 1.19 Pre-Release 1
WItem
now acceptsTagKey
instead ofTag
, which was removed
6.0.0 Beta 2 for Minecraft 22w16b
Repository version: 6.0.0-beta.2+22w16b
Changed
- Updated to Minecraft 22w16b
Removed
- Deprecated methods
WLabel(String)
,WLabel(String, int)
andWTextField.setSuggestion(String)
Fixed
- Closing the config screen did not return back to the original screen
5.4.0 for Minecraft 1.18.2
Repository version: 5.4.0+1.18.2
Changed
- Deprecated some
String
overloads ofText
-related methods for removal in 6.0.0WLabel(String)
andWLabel(String, int)
WTextField.setSuggestion(String)
Fixed
- Closing the config screen did not return back to the original screen