[studio] Add [DEBUG] tag to About in debug builds
All checks were successful
Build / build (push) Successful in 1m18s
All checks were successful
Build / build (push) Successful in 1m18s
This commit is contained in:
parent
8c538560ca
commit
c780924122
@ -15,7 +15,11 @@ namespace studio {
|
|||||||
|
|
||||||
AboutPopup::AboutPopup(turbine::Context &ctx) noexcept:
|
AboutPopup::AboutPopup(turbine::Context &ctx) noexcept:
|
||||||
Popup("About"),
|
Popup("About"),
|
||||||
|
#ifdef DEBUG
|
||||||
|
m_text{sfmt("{} [DEBUG] - {}", keelCtx(ctx).appName, olympic::appVersion)} {
|
||||||
|
#else
|
||||||
m_text{sfmt("{} - {}", keelCtx(ctx).appName, olympic::appVersion)} {
|
m_text{sfmt("{} - {}", keelCtx(ctx).appName, olympic::appVersion)} {
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void AboutPopup::draw(Context &sctx) noexcept {
|
void AboutPopup::draw(Context &sctx) noexcept {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user