1. 03 5月, 2016 1 次提交
  2. 02 5月, 2016 3 次提交
  3. 01 5月, 2016 1 次提交
  4. 30 4月, 2016 4 次提交
  5. 29 4月, 2016 1 次提交
  6. 28 4月, 2016 2 次提交
  7. 26 4月, 2016 1 次提交
  8. 25 4月, 2016 2 次提交
  9. 24 4月, 2016 2 次提交
  10. 23 4月, 2016 2 次提交
  11. 22 4月, 2016 4 次提交
  12. 21 4月, 2016 3 次提交
  13. 20 4月, 2016 6 次提交
  14. 19 4月, 2016 3 次提交
  15. 18 4月, 2016 3 次提交
  16. 16 4月, 2016 1 次提交
  17. 15 4月, 2016 1 次提交
    • M
      Sash double clicks (#4702) · 65bdaf3a
      Maxime Quandalle 提交于
      * Support double click on sashes
      
      We had to implement a slight change in the sash drag "hack", by removing the
      full cover transparent overlay (that was preventing clicks events from being
      fired) and replacing it by a CSS `cursor` rule on the document.body.
      
      The ideal solution for a clean dragging events implementation would be to use
      the `Element.setCapture` API that is unfortunately not available in Chrome.
      
      * Center the split editor frontier by double-clicking on it
      
      * Reset the bottom panel size by double-clicking on it
      
      * Implement sash reset on diff editors
      
      * Fix a bug with DOM measurement
      
      The calculus was plain wrong as showed in https://github.com/winjs/winjs/issues/1621
      This was probably unotified since this utility function wasn't used in the code base.
      
      * Implement sidebar sash optimal resizing
      
      Fixes #4660
      
      * Abstract `getLargestChildWidth` into a DOM method
      
      This commit also moves the `getOptimalWidth` method from the `Composite` to the
      `Viewlet` component. This partially addresses
      https://github.com/Microsoft/vscode/pull/4702#issuecomment-207813241
      
      * Calculate the sidebar optimal width correctly in case no folder is open
      65bdaf3a