forked from mia/Aegisub
Fixed the behaviour of vector clip when realtime mode is on.
Originally committed to SVN as r1610.
This commit is contained in:
parent
06530d716c
commit
c1633cfaf0
2 changed files with 3 additions and 1 deletions
|
@ -21,7 +21,9 @@
|
|||
#ifndef FFMPEGSOURCE_H
|
||||
#define FFMPEGSOURCE_H
|
||||
|
||||
#ifndef NO_FLAC_CACHE
|
||||
#define FLAC_CACHE
|
||||
#endif
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -457,7 +457,7 @@ void VisualToolVectorClip::CommitHold() {
|
|||
if (mode != 3 && mode != 4) SetOverride(_T("\\clip"),_T("(") + spline.EncodeToASS() + _T(")"));
|
||||
|
||||
// End freedraw
|
||||
if (mode == 6 || mode == 7) SetMode(0);
|
||||
if (!holding && (mode == 6 || mode == 7)) SetMode(0);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue