Changeset 269755 in webkit
- Timestamp:
- Nov 12, 2020 2:49:39 PM (3 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r269754 r269755 1 2020-11-12 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: REGRESSION(?): Graphics: cannot click on recording icon more than once 4 https://bugs.webkit.org/show_bug.cgi?id=218834 5 6 Reviewed by Brian Burg. 7 8 * UserInterface/Views/ContextMenuUtilities.js: 9 (WI.addMouseDownContextMenuHandlers): 10 Only ignore future `"mousedown"` events if the `WI.ContextMenu` actually has items. 11 1 12 2020-11-12 Devin Rousso <drousso@apple.com> 2 13 -
trunk/Source/WebInspectorUI/UserInterface/Views/ContextMenuUtilities.js
r269337 r269755 36 36 return; 37 37 38 ignoreMouseDown = true;39 40 38 let contextMenu = WI.ContextMenu.createFromEvent(event); 41 39 contextMenu.addBeforeShowCallback(() => { … … 45 43 populateContextMenuCallback(contextMenu, event); 46 44 45 ignoreMouseDown = !contextMenu.isEmpty(); 47 46 contextMenu.show(); 48 47 });
Note: See TracChangeset
for help on using the changeset viewer.