Correct drawing order

This commit is contained in:
Mid 2025-09-19 23:11:19 +03:00
parent 9ae4abbb56
commit 676127c41f

View File

@ -472,7 +472,7 @@ static bool screen_ev(struct k3MEvent *ev, uint8_t *ud) {
}
for(intmax_t i = this->childCount - 1; i >= 0; i--) {
for(intmax_t i = 0; i < this->childCount; i++) {
if(!this->children[i]->invisible) {
struct k3MEvent newev = *ev;
newev.kind = k3M_EVENTKIND_CAPTURE;