Problem with zOrder

I´m running in a problem concerning the zOrder of a widget:

I manipulate the widget´s zOrder with “blockData.zOrder=globalvalue”, with “globalvalue” counting upwards.

When I write in the console the different widget´s zOrder, everything is fine. But on the screen the order of drawing doesn´t change. Do I have to update a global method??

Simply use the block.z = globalvalue


Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.