mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-23 09:22:32 +00:00
fix: UI_REPEAT constant linkage
This commit is contained in:
@@ -58,9 +58,9 @@ protected:
|
|||||||
private:
|
private:
|
||||||
std::mutex m_navigationLock;
|
std::mutex m_navigationLock;
|
||||||
|
|
||||||
static const int UI_REPEAT_KEY_DELAY_MS =
|
static constexpr int UI_REPEAT_KEY_DELAY_MS =
|
||||||
300; // How long from press until the first repeat
|
300; // How long from press until the first repeat
|
||||||
static const int UI_REPEAT_KEY_REPEAT_RATE_MS =
|
static constexpr int UI_REPEAT_KEY_REPEAT_RATE_MS =
|
||||||
100; // How long in between repeats
|
100; // How long in between repeats
|
||||||
time_util::time_point m_actionRepeatTimer[XUSER_MAX_COUNT][ACTION_MAX_MENU + 1];
|
time_util::time_point m_actionRepeatTimer[XUSER_MAX_COUNT][ACTION_MAX_MENU + 1];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user