Skip to content

4.0.0 Alpha 1 for 21w11a

Pre-release
Pre-release
Compare
Choose a tag to compare
@Juuxel Juuxel released this 19 Mar 21:37
· 299 commits to master since this release

Repository version: 4.0.0-alpha.1+21w11a

Added

  • Insets to replace padding added by background painters. They describe the inner padding of a panel (distance between the content and the panel's edges).
  • A LibGui class with LibGui.isDarkMode to check for dark mode instead of looking in the config.
  • Button dark mode support with textures originally by @shedaniel (#10)
  • Improved mouse events that use an InputResult enum for cascading (for example, scrolling events can pass through to the scroll panel)
  • WAbstractSlider.isDragging (#100)
  • Mouse scrolling support for WScrollPanel and WListPanel
  • ScreenDrawing.drawTextHover for drawing text hover effects

Changed

  • WScrollBar: Scrolling speed increased to 4x the previous amount
  • BackgroundPainter.VANILLA and BackgroundPainter.createColorful no longer have any padding applied
  • All rendering now uses MatrixStacks.
  • All implementation classes are now in the impl package or its subpackages.

Fixed

  • Labeled slider rendering issues
  • Memory leak in ScreenNetworking