ID:2430517
 
Resolved
For non-transformed atoms, the hit detection for their maptext was incorrect.
BYOND Version:512
Operating System:Windows 10 Pro 64-bit
Web Browser:Chrome 72.0.3626.119
Applies to:Dream Seeker
Status: Resolved (512.1465)

This issue has been resolved.
Descriptive Problem Summary:
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.

Lummox JR resolved issue with message:
For non-transformed atoms, the hit detection for their maptext was incorrect.