diff --git a/src/control_ui.cpp b/src/control_ui.cpp index 52049bd..a9e1b84 100644 --- a/src/control_ui.cpp +++ b/src/control_ui.cpp @@ -113,10 +113,10 @@ void ControlUI::process_commands(std::shared_ptr slides) { full_screen(!$full_screen); break; case MOVE_LEFT: - move(1); + move(-1); break; case MOVE_RIGHT: - move(-1); + move(1); break; case NEXT_SLIDE: slides->next_slide(); @@ -154,10 +154,10 @@ void ControlUI::update(std::shared_ptr slides) { using KEY = sf::Keyboard::Scan; switch(key->scancode) { case KEY::A: - move(1); + move(-1); break; case KEY::D: - move(-1); + move(1); break; case KEY::Q: $controller.close();