Implement #10116.
- BColumnListView now accepts middle click as well as double click to resize a column to preferred.
This commit is contained in:
parent
ebea2b79f1
commit
1c9b1111f7
@ -2792,7 +2792,7 @@ TitleView::MouseDown(BPoint position)
|
|||||||
|
|
||||||
int32 clicks = 0;
|
int32 clicks = 0;
|
||||||
Window()->CurrentMessage()->FindInt32("clicks", &clicks);
|
Window()->CurrentMessage()->FindInt32("clicks", &clicks);
|
||||||
if (clicks == 2) {
|
if (clicks == 2 || buttons == B_TERTIARY_MOUSE_BUTTON) {
|
||||||
ResizeSelectedColumn(position, true);
|
ResizeSelectedColumn(position, true);
|
||||||
fCurrentState = INACTIVE;
|
fCurrentState = INACTIVE;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user