ID:1776626
 
Resolved
Icons with alpha=0 were not clickable on their normally opaque pixels.
BYOND Version:507
Operating System:Windows 7 Pro 64-bit
Web Browser:Chrome 40.0.2214.94
Applies to:Webclient
Status: Resolved (507.1278)

This issue has been resolved.
507.1272

Descriptive Problem Summary:
Click event not firing as expected. When you right click on a planned MovementMarker, it's supposed to cancel the movement. In the WebClient, the click falls through to the hexagon instead of being picked up by the place holder units click() event.

Numbered Steps to Reproduce Problem:
compile and run the frontline assault source.
start a game
Click your unit and move it to an adjacent hex.
Right click on the movement marker (small unit) to cancel the move.

Expected Results:
MovementMarker (small unit) picks up the click event and the move is canceled.

Actual Results:
The click falls through to the hexagon so the move isn't cancelled.

Workarounds:
Not sure yet.

Notes:
In my design, I ended up creating an object (located in the MoveMarker.dm) that is supposed to catch the click event. It uses mouse_opacity = 1 and is hidden under the unit images. Check out the 50x50.dmi and that should help you quickly understand how it works.



Lummox JR resolved issue with message:
Icons with alpha=0 were not clickable on their normally opaque pixels.