mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 12:47:58 +03:00
ui2/fade: fix fading
Some checks are pending
Run code linters / Run code linters (push) Waiting to run
Some checks are pending
Run code linters / Run code linters (push) Waiting to run
This commit is contained in:
parent
db01c333df
commit
d742a12188
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
#include "game/ui2/elements/fade.h"
|
||||
|
||||
#include "game/output.h"
|
||||
#include "game/ui2/helpers.h"
|
||||
|
||||
typedef struct {
|
||||
|
@ -20,6 +21,7 @@ static void M_Draw(const UI2_NODE *const node)
|
|||
const M_DATA *const data = node->data;
|
||||
if (data->is_on_top) {
|
||||
UI2_DrawWrapper(node);
|
||||
Output_DrawPolyList(); // flush geometry
|
||||
Fader_Draw(data->fader);
|
||||
} else {
|
||||
Fader_Draw(data->fader);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue