Problem Description
If you delete a layer in the editor, then - during runtime - the layerindex system expression does not return the updated value of higher layers.
Attach a Capx
capx
Description of Capx
There are 6 layers; the event sheet writes the layerindex of layer "this_layer" into a text object. If you delete one of the lower layers and then run the layout you will observe that the layerindex for "this_layer" is not updated.
Steps to Reproduce Bug
- Run the layout to see correct Layerindex result.
- Delete a lower layer then run the layout and observe reported Layerindex value.
Observed Result
As above.
Expected Result
Correct Layerindex value should be returned.
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
W10 x64
Construct 2 Version ID
r229 64 bit