with-heart / aoe2-ui

2 stars 0 forks source link

Handle `ZPlane`/`ZPlaneLocalOffset` #1

Closed with-heart closed 5 months ago

with-heart commented 7 months ago

Some panels contain widgets that specify ZPlane and some child widgets specify ZPlaneLocalOffset.

svg doesn't support the z-index property. The order elements are rendered determines which elements are drawn on top, with later elements being drawn on top of previous elements.

To support ZPlane/ZPlaneLocalOffset, we need to automatically adjust the order that elements are drawn.

with-heart commented 5 months ago

Closed by #32