Timeline: Don't forget to journal edits to time and tempo points!

This commit is contained in:
Jonathan Moore Liles 2010-01-13 00:24:22 -06:00
parent ef0626ae75
commit 52da5eaa5a
2 changed files with 3 additions and 0 deletions

View File

@ -92,6 +92,8 @@ Tempo_Point::log_children ( void ) const
int int
Tempo_Point::handle ( int m ) Tempo_Point::handle ( int m )
{ {
Logger log( this );
if ( m == FL_PUSH && Fl::event_button3() && ! ( Fl::event_state() & ( FL_ALT | FL_CTRL | FL_SHIFT ) ) ) if ( m == FL_PUSH && Fl::event_button3() && ! ( Fl::event_state() & ( FL_ALT | FL_CTRL | FL_SHIFT ) ) )
{ {
float t = _tempo; float t = _tempo;

View File

@ -102,6 +102,7 @@ Time_Point::log_children ( void ) const
int int
Time_Point::handle ( int m ) Time_Point::handle ( int m )
{ {
Logger log( this );
if ( m == FL_PUSH && Fl::event_button3() && ! ( Fl::event_state() & ( FL_ALT | FL_CTRL | FL_SHIFT ) ) ) if ( m == FL_PUSH && Fl::event_button3() && ! ( Fl::event_state() & ( FL_ALT | FL_CTRL | FL_SHIFT ) ) )
{ {