Releases: CottonMC/LibGui
Releases · CottonMC/LibGui
4.0.0 Alpha 1 for 21w11a
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
3.3.5
3.3.3
Repository version: 3.3.3+1.16.5
- Fixed
Screen.renderBackground
calls beingsuper.renderBackground();
in LibGui screens. They should now be properly overrideable. - Replaced
Screen.init(MinecraftClient, int, int)
withinit()
(should be more maintainable). - Fixed a rendering bug with large slots.
- Fixed a rendering bug with labeled sliders.