зеркало из https://github.com/mozilla/gecko-dev.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:
Родитель
04347abc77
Коммит
63bcb7774f
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче