You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the inclussion of utils/Resizer in adobe/brackets#1661, I've refactored project/SideBarView to use the existing code.
I've added a new toggleVisibility API in Resizer. This can be called for any resizable panel. Panels with a class collapsable are also toggled when double clicking on their resize handler. Resizable panels also dispatch now panelCollapsed and panelExpanded when changing from one state into another.
This pull request includes also some fixes for the current sidebar resize behavior (which could be merged independently if this whole refactorization is not really required):
The resize handler changes to default when going over the CodeMirror gutter space
While resizing, if we take the mouse out of the Brackets window and then release it, when entering again, the resize action is still going
If the sidebar is hidden, slowly trying to resize it to the left out of the window produces strange behaviors (possibly related to the one above)
Comment by redmunds Thursday Oct 11, 2012 at 22:56 GMT
It sounds like there are 3 independent changes here:
convert sidebar to use resizer module
add toggleVisibility API
resizer bug fixes
Is that correct? If so, it wold be much nicer if you could separate them into different pull requests. It's always best to make pull requests as atomic as possible.
Thursday Oct 11, 2012 at 00:48 GMT
Originally opened as adobe/brackets#1811
Hi,
Following the inclussion of
utils/Resizer
in adobe/brackets#1661, I've refactoredproject/SideBarView
to use the existing code.I've added a new
toggleVisibility
API inResizer
. This can be called for any resizable panel. Panels with a classcollapsable
are also toggled when double clicking on their resize handler. Resizable panels also dispatch nowpanelCollapsed
andpanelExpanded
when changing from one state into another.This pull request includes also some fixes for the current sidebar resize behavior (which could be merged independently if this whole refactorization is not really required):
jbalsas included the following code: https://github.com/adobe/brackets/pull/1811/commits
The text was updated successfully, but these errors were encountered: