mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
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:
parent
04347abc77
commit
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user