aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-01-17 00:19:52 +0100
committerdec05eba <dec05eba@protonmail.com>2020-01-17 00:19:52 +0100
commitcf83bf2fea7efd0d7239dc021741fb88eb76ea8b (patch)
tree4bff5daa021d7329c1b1846328e5d48698caf65a /src
parent5a41103e7d7f67e001926ab4741cfec0bcbe8526 (diff)
Temporary disable cursor hiding in window, as it's bugged in sfml?
Diffstat (limited to 'src')
-rw-r--r--src/QuickMedia.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index c0dd7cf..349cc28 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -791,7 +791,7 @@ namespace QuickMedia {
if(!ui_visible) {
ui_visible = true;
video_player_ui_window->setVisible(true);
- window.setMouseCursorVisible(true);
+ //window.setMouseCursorVisible(true);
}
}
}
@@ -834,7 +834,7 @@ namespace QuickMedia {
if(ui_hide_timer.getElapsedTime().asMilliseconds() > UI_HIDE_TIMEOUT) {
ui_visible = false;
video_player_ui_window->setVisible(false);
- window.setMouseCursorVisible(false);
+ //window.setMouseCursorVisible(false);
}
const float ui_height = window_size.y * 0.025f;
@@ -866,7 +866,7 @@ namespace QuickMedia {
video_player_ui_window.reset();
window_set_fullscreen(disp, window.getSystemHandle(), WindowFullscreenState::UNSET);
- window.setMouseCursorVisible(true);
+ //window.setMouseCursorVisible(true);
}
enum class TrackMediaType {