raylib: add experimental mode + alpha long confirmation dialog + related fixes (#36295)

* here's everything

* just the dev part

* same for exp mode!

* use rich

* fix br not working in p

* html height needs to be different than content/text rect

* fix confirmation

* fix

* fix 2.5s lag

* clean up

* use correct param

* add offroad and engaged callback too

* nl

* lint
This commit is contained in:
Shane Smiskol
2025-10-10 03:03:35 -07:00
committed by GitHub
parent 0f40afa357
commit ddbbcc6f5d
5 changed files with 92 additions and 22 deletions
+2
View File
@@ -121,6 +121,8 @@ class HtmlRenderer(Widget):
is_start_tag, is_end_tag, tag = is_tag(token)
if tag is not None:
if tag == ElementType.BR:
# Close current tag and add a line break
close_tag()
self._add_element(ElementType.BR, "")
elif is_start_tag or is_end_tag: