зеркало из https://github.com/mozilla/pjs.git
back out joki's click event fix because it doesn't totally work right. toolboxes now collapse (most of the time).
This commit is contained in:
Родитель
24d2f3686e
Коммит
6fa9799da8
|
@ -667,7 +667,10 @@ nsToolboxFrame :: HandleEvent ( nsIPresContext& aPresContext,
|
||||||
switch ( aEvent->message ) {
|
switch ( aEvent->message ) {
|
||||||
|
|
||||||
case NS_MOUSE_LEFT_CLICK:
|
case NS_MOUSE_LEFT_CLICK:
|
||||||
// case NS_MOUSE_LEFT_BUTTON_UP:
|
// BUG 3752 aEvent->point is invalid here.
|
||||||
|
break;
|
||||||
|
|
||||||
|
case NS_MOUSE_LEFT_BUTTON_UP:
|
||||||
OnMouseLeftClick ( aEvent->point );
|
OnMouseLeftClick ( aEvent->point );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче