1. 21 1月, 2020 1 次提交
  2. 18 12月, 2019 1 次提交
  3. 16 12月, 2019 1 次提交
  4. 10 12月, 2019 1 次提交
  5. 19 11月, 2019 1 次提交
  6. 14 11月, 2019 1 次提交
  7. 21 10月, 2019 3 次提交
  8. 20 10月, 2019 1 次提交
    • M
      Fix drag and dropping of editors for webviews (#82813) · cbda1fde
      Matt Bierner 提交于
      * Fix drag and dropping of editors for webviews
      
      Fixes #25854
      
      This change does the following:
      
      - Have the webview editor create an `EditorDropTarget`. This is required because the webview itself is not part of the normal editor dom (it exists as a top level node in the workbench so that we never reparent it). This means that the standard `EditorDropTarget` does not work.
      
      - Make webviews set `pointer-events: none` while a drag is happening. When a drag happens on Electron's webviews or a normal iframe, no  drag and drop events seem to get generated. The fix is to set `pointer-events: none` while the drag is happening. But it's also difficult to detect when the drag is happening because the  `EditorDropTargets` class eats the drop event itself. The only reliable seeming way I could find to determine when a drag starts and ends is looking at global events on the window.
      
      This workaround is pretty ugly. I'm not sure if there's some better approach that would work with webviews
      
      * Add public `createDropTargets` helper on editorPart
      
      Unfortunatly we can't add this method to IEditorGroupsService as it uses the `HTMLElement` type
      
      * Rename function to createEditorDropTarget
      
      * Use instanceof instead of cast
      cbda1fde
  9. 19 10月, 2019 1 次提交
  10. 16 10月, 2019 1 次提交
  11. 11 10月, 2019 1 次提交
  12. 30 8月, 2019 1 次提交
  13. 29 8月, 2019 1 次提交
  14. 28 8月, 2019 1 次提交
  15. 26 8月, 2019 1 次提交
  16. 11 8月, 2019 1 次提交
  17. 09 8月, 2019 4 次提交
  18. 06 8月, 2019 1 次提交
  19. 29 7月, 2019 1 次提交
  20. 27 7月, 2019 3 次提交
  21. 16 7月, 2019 3 次提交
  22. 12 7月, 2019 1 次提交
  23. 17 6月, 2019 1 次提交
  24. 07 6月, 2019 1 次提交
  25. 07 4月, 2019 1 次提交
  26. 01 4月, 2019 1 次提交
  27. 14 3月, 2019 1 次提交
  28. 12 3月, 2019 1 次提交
  29. 08 3月, 2019 1 次提交
  30. 07 3月, 2019 2 次提交