Fixed a minor bug in initialization of waveform - thx Frederic!

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@177 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2010-12-09 15:22:38 +00:00
parent 12390d9ea9
commit 9f5132a8eb

View File

@ -118,6 +118,22 @@ namespace Nikse.SubtitleEdit.Controls
set
{
_zoomFactor = 1.0;
_currentParagraph = null;
_selectedParagraph = null;
_buttonDownTimeTicks = 0;
_mouseMoveLastX = -1;
_mouseMoveStartX = -1;
_moveWholeStartDifferenceMilliseconds = -1;
_mouseMoveEndX = -1;
_mouseDown = false;
_mouseDownParagraph = null;
_mouseDownParagraphType = MouseDownParagraphType.Start;
_selectedParagraph = null;
_currentParagraph = null;
_previousAndNextParagraphs = new List<Paragraph>();
_currentVideoPositionSeconds = -1;
_subtitle = null;
_noClear = false;
_wavePeaks = value;
}
}