(changes 07:51 22.02.2024):

- Move Format into a Task
- Implement Debugging Option into Settings
This commit is contained in:
2024-02-22 07:52:01 +01:00
parent 0092edf54f
commit 3a77cd0687
6 changed files with 27 additions and 9 deletions

View File

@@ -111,7 +111,7 @@ struct UI7_Ctx {
cbackup = R7Vec2();
in_menu = false;
current_menu = UI7ID("");
debugging = true;
debugging = false;
}
float delta;
float time;
@@ -554,4 +554,13 @@ void Debug() {
}
}
bool &IsDebugging() {
if (!UI7CtxValidate()) {
// Return a Default Val
static bool t = false;
return t;
}
return ui7_ctx->debugging;
}
} // namespace UI7