зеркало из https://github.com/mozilla/pjs.git
Bug 243720. Dragging stuff into menus should use screenX to avoid ambiguous semantics of clientX in popups. r=timeless,sr=neil
This commit is contained in:
Родитель
806a179885
Коммит
56ebe57280
|
@ -219,8 +219,8 @@ var BookmarksMenu = {
|
||||||
case "menu":
|
case "menu":
|
||||||
case "menuitem":
|
case "menuitem":
|
||||||
size = overButtonBoxObject.height;
|
size = overButtonBoxObject.height;
|
||||||
coordValue = overButtonBoxObject.y-overParentBoxObject.y;
|
coordValue = overButtonBoxObject.screenY;
|
||||||
clientCoordValue = aEvent.clientY;
|
clientCoordValue = aEvent.screenY;
|
||||||
break;
|
break;
|
||||||
default: return BookmarksUtils.DROP_ON;
|
default: return BookmarksUtils.DROP_ON;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче