mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-23 17:23:44 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user