Makebutton Exactcol active behind layer or bug?

Discuss any general programming issues here
Post Reply
Bugala
Posts: 1178
Joined: Sun Feb 14, 2010 7:11 pm

Makebutton Exactcol active behind layer or bug?

Post by Bugala »

Code: Select all

[id] = MakeButton(id, #LAYERBUTTON, layerid, exactcoll, noautohide, evttable[, userdata])
What I have thought Exactcol part to mean is that it requires you to actually touch part of the buttons image (layer) before becoming active.

However, Now that I am using it here, I have first this big rectangle shaped Image Button as back most layer. Lets call that Button A.

On top of that A Button layer, i have some layers that are not buttons.

Now when i click on top of one of those layers that are not buttons, Button A activates.

Is this supposed to be so, or is this a bug?
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Makebutton Exactcol active behind layer or bug?

Post by airsoftsoftwair »

No, that's normal behaviour. Layer buttons currently don't account for layers higher in the z-order that partially block the button layer.
Post Reply