From 3ef2293fd55894c968cd44608fa813d699354c20 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 17 Dec 2020 08:44:56 +0100 Subject: Video: show cursor when playing next video --- src/QuickMedia.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index bc66732..0789f78 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -1937,6 +1937,12 @@ namespace QuickMedia { load_sprite.setRotation(load_sprite_timer.getElapsedTime().asSeconds() * 400.0); window.draw(load_sprite); window.display(); + + if(!cursor_visible) { + cursor_visible = true; + window.setMouseCursorVisible(true); + } + cursor_hide_timer.restart(); continue; } -- cgit v1.2.3