diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Tabs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Tabs.cpp b/src/Tabs.cpp index 6b8d948..35eccf5 100644 --- a/src/Tabs.cpp +++ b/src/Tabs.cpp @@ -62,10 +62,10 @@ namespace QuickMedia { void Tabs::on_event(sf::Event &event) { if(event.type == sf::Event::KeyPressed && event.key.control && !tabs.empty()) { - bool move_left = (event.key.code == sf::Keyboard::Left || event.key.code == sf::Keyboard::H); + bool move_left = (event.key.code == sf::Keyboard::Left || (event.key.alt && event.key.code == sf::Keyboard::H)); move_left |= (event.key.code == sf::Keyboard::Tab && event.key.shift); - bool move_right = (event.key.code == sf::Keyboard::Right || event.key.code == sf::Keyboard::L); + bool move_right = (event.key.code == sf::Keyboard::Right || (event.key.alt && event.key.code == sf::Keyboard::L)); move_right |= (event.key.code == sf::Keyboard::Tab && !event.key.shift); if(move_left) { |