Get rid of some unnecessary redrawing.
This commit is contained in:
parent
b6106fc6da
commit
8b92eb9318
2
Region.C
2
Region.C
|
@ -195,7 +195,7 @@ Region::handle ( int m )
|
|||
else
|
||||
_selected = ! _selected;
|
||||
|
||||
_track->redraw();
|
||||
redraw();
|
||||
}
|
||||
|
||||
ret = Track_Widget::handle( m );
|
||||
|
|
|
@ -202,6 +202,7 @@ public:
|
|||
if ( Fl::event_state() & FL_CTRL &&
|
||||
Fl::event_button() == 3 )
|
||||
{
|
||||
redraw();
|
||||
_track->queue_delete( this );
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue