4.0.0 Alpha 1 for 21w11a
Pre-release
Pre-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 withLibGui.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
andWListPanel
ScreenDrawing.drawTextHover
for drawing text hover effects
Changed
- WScrollBar: Scrolling speed increased to 4x the previous amount
BackgroundPainter.VANILLA
andBackgroundPainter.createColorful
no longer have any padding applied- All rendering now uses
MatrixStack
s. - All implementation classes are now in the
impl
package or its subpackages.
Fixed
- Labeled slider rendering issues
- Memory leak in
ScreenNetworking