Skip to content

LibGui 6.1.0 for 1.19.x

Compare
Choose a tag to compare
@Juuxel Juuxel released this 06 Sep 11:55
· 147 commits to master since this release

Repository version: 6.1.0+1.19

Added

  • Stabilised observable properties, including ObservableProperty, ObservableView and WWidget.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 use WWidget.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

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 in CottonInventoryScreen)
  • 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