Skip to content

Conversation

ghzdude
Copy link
Contributor

@ghzdude ghzdude commented Feb 28, 2025

adds an extra draw method for passing in a different text renderer
adds methods for getting last width/height
fix off by one trim
simplify getting hovered element

ghzdude and others added 3 commits March 8, 2025 18:01
# Conflicts:
#	src/main/java/com/cleanroommc/modularui/drawable/text/RichText.java
#	src/main/java/com/cleanroommc/modularui/drawable/text/RichTextCompiler.java
#	src/main/java/com/cleanroommc/modularui/screen/ClientScreenHandler.java
#	src/main/java/com/cleanroommc/modularui/widgets/RichTextWidget.java
@brachy84 brachy84 merged commit 90d5f2f into CleanroomMC:master Oct 2, 2025
brachy84 added a commit to brachy84/ModularUI2-GTNH that referenced this pull request Oct 11, 2025
* add overloads, methods, and improve rich text

* fix off by one trim

* no need to translate

* increment x by space width

* add back translate in ClientScreenHandler

* fix

---------

Co-authored-by: brachy84 <brachy84@gmail.com>
(cherry picked from commit 90d5f2f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants