Page 1 of 1

[Genhis][2.0.50] elem_tooltip for recipe-with-quality doesn't show properly

Posted: Thu May 22, 2025 6:54 pm
by SWeini
I try to use a sprite-button for a quality recipe (using the new LuaGuiElement.quality) and have a corresponding tooltip, but the tooltip doesn't work properly

basically this
{ type = "sprite-button", sprite = "recipe/foo", quality = "bar", elem_tooltip = { type = "recipe-with-quality", name = "foo", quality = "bar" } }

this is what the tooltip looks like
05-22-2025, 20-52-45.png
05-22-2025, 20-52-45.png (33.36 KiB) Viewed 55 times
this is what the tooltip should look like (as seen in assembling machine)
05-22-2025, 20-53-27.png
05-22-2025, 20-53-27.png (541.57 KiB) Viewed 55 times