Skip to content

Commit

Permalink
Merge branch 'feature/RB-142-menu-de-connection' of github.com:X-R-G-…
Browse files Browse the repository at this point in the history
…B/R-Bus into feature/RB-142-menu-de-connection
  • Loading branch information
KitetsuK committed Nov 2, 2023
2 parents 134106a + d692c83 commit da4a8e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Client/Systems/Menus/Menu/MenuSystems.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ namespace Systems {
{typeid(Types::InputBox), typeid(Raylib::Text)});
static auto clockId = Registry::getInstance().getClock().create();

if (Raylib::isKeyDown(Raylib::KeyboardKey::KB_BACKSPACE) && Registry::getInstance().getClock().elapsedMillisecondsSince(clockId) > delay) {
if (Raylib::isKeyDown(Raylib::KeyboardKey::KB_BACKSPACE)
&& Registry::getInstance().getClock().elapsedMillisecondsSince(clockId) > delay) {
for (auto id : ids) {
if (arrInputBox[id].selected) {
Registry::getInstance().getClock().restart(clockId);
Expand Down

0 comments on commit da4a8e6

Please sign in to comment.