Combine click trim and drag trim into one log message.

This commit is contained in:
Jonathan Moore Liles 2008-02-28 10:19:24 -06:00
parent 143035f0e8
commit f8752d301f
1 changed files with 3 additions and 2 deletions

View File

@ -213,11 +213,11 @@ Region::handle ( int m )
{ {
case 1: case 1:
trim( trimming = LEFT, X ); trim( trimming = LEFT, X );
// _log.hold(); _log.hold();
break; break;
case 3: case 3:
trim( trimming = RIGHT, X ); trim( trimming = RIGHT, X );
// _log.hold(); _log.hold();
break; break;
case 2: case 2:
{ {
@ -284,6 +284,7 @@ Region::handle ( int m )
if ( trimming != NO ) if ( trimming != NO )
{ {
trimming = NO; trimming = NO;
_log.release();
} }
if ( dragging ) if ( dragging )
_log.release(); _log.release();