The maptext hitbox is offset by world view instead of being relative to obj
Numbered Steps to Reproduce Problem:
1. Create a button using a 64x64 image
2. Place it in the map
3. At run time, initialize the button by calling into this proc.
Code Snippet (if applicable) to Reproduce Problem:
Proc_InitButtonText(var/obj/Button/b, var/buttonText)
{
b.filters += filter(type="outline", size=3, color=rgb(0,0,0))
b.maptext = "[buttonText]"
b.maptext_width = 650;
b.maptext_height = 60;
b.maptext_x = 80
b.maptext_y = 1
b.mouse_opacity = 2
}
Expected Results:
When you hover over the text, the status bar should show the same text as when you hover over the button image.
Actual Results:
Whatever is under the text is shown in image status as-if the text was set to mouse_opacity=0.
Looks like the hitbox for map_text is offset to the viewport instead of the object.