Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

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 TypesettingTools/Aegisub#32
  • Loading branch information
wangqr committed Jun 4, 2020
1 parent 0847c17 commit bd7bc1c
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 @@ -324,8 +324,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 bd7bc1c

Please sign in to comment.