Page 1 of 1

Makebutton Exactcol active behind layer or bug?

Posted: Sat Aug 12, 2017 10:14 am
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?

Re: Makebutton Exactcol active behind layer or bug?

Posted: Tue Aug 15, 2017 7:55 pm
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.