godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.3k stars 21.24k forks source link

[RTL] Improve `hint` and `url` tags interaction. #99489

Open bruvzg opened 1 day ago

bruvzg commented 1 day ago

Improves hint and url tags interaction by adding offset to nested outline (only one level deep, since RTL currently support only one underline of the same time at a time).

Screenshot 2024-11-21 at 11 49 50
test [hint="tooltip"]hello[/hint] test [url="https://example.com"]hello[/url] test 
test [hint="tooltip"][url="https://example.com"]hello[/url][/hint] test 
test [hint=" tooltip"]world[url="https://example.com"]hello[/url]world[/hint] test
test [url="https://example.com"]world[hint="tooltip"]hello[/hint]world[/url] test
Mickeon commented 13 hours ago

This would admittedly be a rather niche interaction especially more-so if/when https://github.com/godotengine/godot/pull/99481 is merged