oωo (owo-lib)

oωo (owo-lib)

Mod

A general utility, GUI and config library for modding on Fabric and Quilt

Client or server Library

2.97M downloads
854 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

[1.20.3+] oωo - 0.12.1

Changelog

Additions

A new sizing method joins the owo-ui framework - Sizing.expand. It works mostly the same as Sizing.fill (and indeed identically in a few cases) with the important difference that it applies after all other sizing types and only takes into account the space that remains after all other components have been inflated according to their sizing.

Along with this, the new Components.spacer can be used to, for example, easily push two components to opposite ends of their parent

Changes

  • The OverlayContainer no longer closes itself when its child is clicked inbounds but doesn't consume the event. Further, it prevents the screen from closing when ESC is pressed and instead only closes itself and it consumes all scroll events to avoid scrolling through the overlay(#199)
  • owo-ui component trees inside one of the screen implementations provided by owo (BaseOwoScreen and BaseOwoHandledScreen) can now process and consume ESC keypresses

Fixes

  • Only the most specific tooltip at a given mouse pointer location is now rendered by an owo-ui tree, fixing overlapping tooltips in the config screen (#95) and preventing tooltips from showing on components that are hidden by an overlay (like a color picker)
  • EntityComponent.RenderablePlayerEntity now correctly loads skins again
  • BaseComponent.hovered is now only set to true when the component is not obscured by another one (#199)
  • When moving around the handles of a color picker, which one is affected no longer depends on the cursor position but only on which one was clicked

Files

owo-lib-0.12.1+1.20.3.jar(1.02 MiB) Primary Download
owo-lib-0.12.1+1.20.3-sources.jar(438.27 KiB) Download

Project members

Wisp Forest

Wisp Forest

Organization

glisco

Owner

BasiqueEvangelist

Member

Blodhgarm

Member

Details

Licensed MIT
Published 3 years ago
Updated 5 days ago