diff options
Diffstat (limited to 'src/QuickMedia.cpp')
-rw-r--r-- | src/QuickMedia.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 1717df4..d145dda 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -2063,7 +2063,7 @@ namespace QuickMedia { if(matrix && !matrix->is_initial_sync_finished()) { // if(is_login_sync) { load_sprite.set_position(mgl::vec2f(body_pos.x + body_size.x * 0.5f, body_pos.y + body_size.y * 0.5f)); - load_sprite.set_rotation(load_sprite_timer.get_elapsed_time_seconds() * 400.0); + load_sprite.set_rotation(load_sprite_timer.get_elapsed_time_seconds() * (double)get_config().animation.loading_icon_speed); window.draw(load_sprite); // } std::string err_msg; @@ -3011,7 +3011,7 @@ namespace QuickMedia { window.clear(get_theme().background_color); load_sprite.set_position(mgl::vec2f(window_size.x * 0.5f, window_size.y * 0.5f)); - load_sprite.set_rotation(load_sprite_timer.get_elapsed_time_seconds() * 400.0); + load_sprite.set_rotation(load_sprite_timer.get_elapsed_time_seconds() * (double)get_config().animation.loading_icon_speed); window.draw(load_sprite); window.display(); } @@ -3848,7 +3848,7 @@ namespace QuickMedia { if(!video_loaded) { window.clear(get_theme().background_color); load_sprite.set_position(mgl::vec2f(window_size.x * 0.5f, window_size.y * 0.5f)); - load_sprite.set_rotation(load_sprite_timer.get_elapsed_time_seconds() * 400.0); + load_sprite.set_rotation(load_sprite_timer.get_elapsed_time_seconds() * (double)get_config().animation.loading_icon_speed); window.draw(load_sprite); window.display(); @@ -4129,7 +4129,7 @@ namespace QuickMedia { window.clear(get_theme().background_color); load_sprite.set_position(mgl::vec2f(window_size.x * 0.5f, window_size.y * 0.5f)); - load_sprite.set_rotation(load_sprite_timer.get_elapsed_time_seconds() * 400.0); + load_sprite.set_rotation(load_sprite_timer.get_elapsed_time_seconds() * (double)get_config().animation.loading_icon_speed); window.draw(load_sprite); AsyncImageLoader::get_instance().update(); window.display(); @@ -5209,7 +5209,7 @@ namespace QuickMedia { window.draw(rect); load_sprite.set_position(mgl::vec2f(window_size.x * 0.5f, window_size.y * 0.5f)); - load_sprite.set_rotation(load_sprite_timer.get_elapsed_time_seconds() * 400.0); + load_sprite.set_rotation(load_sprite_timer.get_elapsed_time_seconds() * (double)get_config().animation.loading_icon_speed); window.draw(load_sprite); } } else if(navigation_stage == NavigationStage::REPLYING) { |