Skip to content

Commit

Permalink
fix video direction being ignored in some circumstances
Browse files Browse the repository at this point in the history
  • Loading branch information
breunigs committed Feb 6, 2024
1 parent 276c262 commit c235de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/veloroute_web/live/video_state.ex
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ defmodule VelorouteWeb.Live.VideoState do

new_state =
old_state
|> update_direction_from_params(params)
|> update_from_tracks(tracks, near, accurate)
|> update_direction_from_params(params)

new_state =
cond do
Expand Down

0 comments on commit c235de4

Please sign in to comment.