Skip to content

Commit

Permalink
ui/widgets/frame: fix z order for tr2
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Jan 8, 2025
1 parent 2afb4b3 commit bc82ace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libtrx/game/ui/widgets/frame.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ static void M_SetPosition(
y + self->margin + self->padding);
Text_SetPos(
self->frame, x + self->margin, y + self->margin + TEXT_HEIGHT_FIXED);
self->frame->pos.z = 24;
Text_AddBackground(
self->frame, w - self->margin * 2, h - self->margin * 2,
(w - self->margin * 2) / 2, 0, TS_REQUESTED);
Expand Down

0 comments on commit bc82ace

Please sign in to comment.