Skip to content

Commit

Permalink
Fix initial state of AudioTimingControllerDialogue
Browse files Browse the repository at this point in the history
It should not be in alt-dragging mode by default.

Fix #32
  • Loading branch information
wangqr authored and arch1t3cht committed Dec 3, 2023
1 parent 9ded319 commit 9076a8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/audio_timing_dialogue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ class AudioTimingControllerDialogue final : public AudioTimingController {
/// The owning project context
agi::Context *context;

/// The time which was clicked on for alt-dragging mode
int clicked_ms;
/// The time which was clicked on for alt-dragging mode, or INT_MIN if not in alt-draging mode
int clicked_ms = INT_MIN;

/// Autocommit option
const agi::OptionValue *auto_commit = OPT_GET("Audio/Auto/Commit");
Expand Down

0 comments on commit 9076a8b

Please sign in to comment.