We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f039473 commit 402b88bCopy full SHA for 402b88b
ttyd-tools/rel/source/codes/OnScreenTimerC.cpp
@@ -56,11 +56,16 @@ void Mod::onScreenTimer()
56
second,
57
modframe);
58
59
+ int FontDrawX = 75;
60
+ #ifdef TTYD_JP
61
+ FontDrawX += 25;
62
+ #endif
63
+
64
ttyd::fontmgr::FontDrawStart();
65
uint32_t color = 0xFFFFFFFF;
66
ttyd::fontmgr::FontDrawColor(reinterpret_cast<uint8_t *>(&color));
67
ttyd::fontmgr::FontDrawEdge();
- ttyd::fontmgr::FontDrawMessage(100, -153, mDisplayBuffer);
68
+ ttyd::fontmgr::FontDrawMessage(FontDrawX, -153, mDisplayBuffer);
69
70
mOnScreenTimer.tick();
71
}
0 commit comments