diff options
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Screens/UScreenEditSub.pas | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Game/Code/Screens/UScreenEditSub.pas b/Game/Code/Screens/UScreenEditSub.pas index 11e00b31..ae1a026e 100644 --- a/Game/Code/Screens/UScreenEditSub.pas +++ b/Game/Code/Screens/UScreenEditSub.pas @@ -288,8 +288,16 @@ begin if SDL_ModState = 0 then
begin
// Insert start of sentece
- if AktNuta[CP] > 0 then
- DivideSentence;
+ if (AktNuta[CP] > 0) then
+ DivideSentence
+ else if AktSong.isDuet and
+ (Length(Czesci[(CP+1) mod 2].Czesc[Czesci[CP].Akt].Nuta)>0) then
+ begin
+ if (Czesci[CP].Czesc[Czesci[CP].Akt].Nuta[AktNuta[CP]].Start >
+ Czesci[(CP+1) mod 2].Czesc[Czesci[CP].Akt].Nuta[0].Start+
+ Czesci[(CP+1) mod 2].Czesc[Czesci[CP].Akt].Nuta[0].Dlugosc) then
+ DivideSentence;
+ end;
end;
if SDL_ModState = KMOD_LSHIFT then
|