Fix initial state of AudioTimingControllerDialogue

It should not be in alt-dragging mode by default.

Fix TypesettingTools/Aegisub#32
This commit is contained in:
wangqr 2020-06-03 20:00:54 -04:00 committed by arch1t3cht
parent 5dfa94d22d
commit e4f0a9a510

View file

@ -324,8 +324,8 @@ class AudioTimingControllerDialogue final : public AudioTimingController {
/// The owning project context /// The owning project context
agi::Context *context; agi::Context *context;
/// The time which was clicked on for alt-dragging mode /// The time which was clicked on for alt-dragging mode, or INT_MIN if not in alt-draging mode
int clicked_ms; int clicked_ms = INT_MIN;
/// Autocommit option /// Autocommit option
const agi::OptionValue *auto_commit = OPT_GET("Audio/Auto/Commit"); const agi::OptionValue *auto_commit = OPT_GET("Audio/Auto/Commit");