Revert "Store a z-index id per-layer (#4128)"
This reverts commit28a2337218, reversing changes made toe992f84735.
This commit is contained in:
@@ -13,7 +13,7 @@ impl RenderOnce for FacePile {
|
||||
let isnt_last = ix < player_count - 1;
|
||||
|
||||
div()
|
||||
.z_index((player_count - ix) as u16)
|
||||
.z_index((player_count - ix) as u8)
|
||||
.when(isnt_last, |div| div.neg_mr_1())
|
||||
.child(player)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user