From 098ffcf54d5244ae658d9b390927d2e155d01714 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Sun, 3 May 2026 13:18:55 -0400 Subject: [PATCH] Left and Right were wrong. --- src/control_ui.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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();