raylib: fix emoji centering with Label (#36376)

* kinda works

* but spacing was off, so back to big emoji

* rm debug

* fixed!

* fixed!

* fix newline in emoji pattern

* fix

* fix dat
This commit is contained in:
Shane Smiskol
2025-10-15 21:53:52 -07:00
committed by GitHub
parent d9fc6c0086
commit 80a8df0643
4 changed files with 22 additions and 5 deletions
+1 -2
View File
@@ -64,8 +64,7 @@ class SetupWidget(Widget):
spacing = 42
# Title with fire emojis
# TODO: fix Label centering with emojis
self._firehose_label.render(rl.Rectangle(x - 48, y, w, 64))
self._firehose_label.render(rl.Rectangle(rect.x, y, rect.width, 64))
y += 64 + spacing
# Description