зеркало из 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 "menuitem":
|
||||
size = overButtonBoxObject.height;
|
||||
coordValue = overButtonBoxObject.y-overParentBoxObject.y;
|
||||
clientCoordValue = aEvent.clientY;
|
||||
coordValue = overButtonBoxObject.screenY;
|
||||
clientCoordValue = aEvent.screenY;
|
||||
break;
|
||||
default: return BookmarksUtils.DROP_ON;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче