mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Space key will not toggle play in "Visual Sync"
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@315 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
260400c417
commit
0a658a6a0f
@ -647,7 +647,14 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
GoBackSeconds(-1.0, MediaPlayerEnd);
|
GoBackSeconds(-1.0, MediaPlayerEnd);
|
||||||
e.SuppressKeyPress = true;
|
e.SuppressKeyPress = true;
|
||||||
}
|
}
|
||||||
|
else if (e.Modifiers == Keys.None && e.KeyCode == Keys.Space)
|
||||||
|
{
|
||||||
|
if (_isStartSceneActive)
|
||||||
|
MediaPlayerStart.TooglePlayPause();
|
||||||
|
else
|
||||||
|
MediaPlayerEnd.TooglePlayPause();
|
||||||
|
e.SuppressKeyPress = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user