Correct drawing order
This commit is contained in:
parent
9ae4abbb56
commit
676127c41f
@ -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) {
|
if(!this->children[i]->invisible) {
|
||||||
struct k3MEvent newev = *ev;
|
struct k3MEvent newev = *ev;
|
||||||
newev.kind = k3M_EVENTKIND_CAPTURE;
|
newev.kind = k3M_EVENTKIND_CAPTURE;
|
||||||
|
Loading…
Reference in New Issue
Block a user