diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-12-17 08:44:56 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-12-17 08:50:11 +0100 |
commit | 3ef2293fd55894c968cd44608fa813d699354c20 (patch) | |
tree | 29ab9da2e39bbb8247e81d44e42ac1e0caf3e5a2 | |
parent | 7767cf93a04defb97d2889a833c804a2a404d40a (diff) |
Video: show cursor when playing next video
-rw-r--r-- | src/QuickMedia.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |