Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv10144
Modified Files:
TrackPanel.cpp
Log Message:
Correctly update scrollbar on recording when AutoScroll is off (Bugzilla #270)
Index: TrackPanel.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/TrackPanel.cpp,v
retrieving revision 1.363
retrieving revision 1.364
diff -u -d -r1.363 -r1.364
--- TrackPanel.cpp 4 Jul 2007 06:03:42 -0000 1.363
+++ TrackPanel.cpp 4 Jul 2007 18:29:28 -0000 1.364
@@ -927,9 +927,13 @@
!gAudioIO->IsPaused() )
{
mListener->TP_ScrollWindow( pos );
- MakeParentRedrawScrollbars();
}
+ // Always update scrollbars even if not scrolling the window. This is
+ // important when new audio is recorded, because this can change the
+ // length of the project and therefore the appearance of the scrollbar.
+ MakeParentRedrawScrollbars();
+
mIndicatorShowing = ( onScreen && audioActive );
// Remember it
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs