Z-Index is broken since v0.24.5 #1678
Labels
bug
This issue describes undesirable, incorrect, or unexpected behavior
priority 1
Excalibur is unusable in most use cases or severely degraded
Steps to Reproduce
Expected Result
Actors with a higher z-index should be displayed in front of actors with a lower z-index.
Actual Result
Actors are displayed in no particular order.
Environment
The problem is commit 855ce51.
In this commit calls to
SortedList.getComparable
have been changed fromgetComparable.call(element)
togetComparable(element)
. In other words,element
was previously passed asthis
, but now it is passed as an argument. However the actual implementation passed asgetComparable
still expectselement
to be passed asthis
.The text was updated successfully, but these errors were encountered: