Get rid of some unnecessary redrawing.

This commit is contained in:
Jonathan Moore Liles 2008-02-21 22:53:39 -06:00
parent b6106fc6da
commit 8b92eb9318
2 changed files with 2 additions and 1 deletions

View File

@ -195,7 +195,7 @@ Region::handle ( int m )
else else
_selected = ! _selected; _selected = ! _selected;
_track->redraw(); redraw();
} }
ret = Track_Widget::handle( m ); ret = Track_Widget::handle( m );

View File

@ -202,6 +202,7 @@ public:
if ( Fl::event_state() & FL_CTRL && if ( Fl::event_state() & FL_CTRL &&
Fl::event_button() == 3 ) Fl::event_button() == 3 )
{ {
redraw();
_track->queue_delete( this ); _track->queue_delete( this );
return 0; return 0;
} }