Browse Source

Don't begin a drag when annotations are edited!

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
982eed82e4
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      Timeline/Annotation_Point.H
  2. +1
    -1
      Timeline/Annotation_Region.C

+ 2
- 2
Timeline/Annotation_Point.H View File

@@ -110,14 +110,14 @@ public:
{
Logger _log( this );

if ( m == FL_PUSH && Fl::event_button3() && ! Fl::event_ctrl() )
if ( m == FL_PUSH && Fl::test_shortcur( FL_BUTTON3 ) && ! Fl::event_shift() )
{
const char *s = fl_input( "New name for mark:", name() );

if ( s )
name( s );

return 1;
return 0;
}

int r = Sequence_Widget::handle( m );


+ 1
- 1
Timeline/Annotation_Region.C View File

@@ -103,7 +103,7 @@ Annotation_Region::handle ( int m )

free( s );

return 1;
return 0;
}

int r = Sequence_Region::handle( m );


Loading…
Cancel
Save