Skip to content

Commit

Permalink
FORMAT-AUTO: automatic format on pull request #140
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 2, 2023
1 parent 4f393fe commit d692c83
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 @@ -114,7 +114,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 d692c83

Please sign in to comment.