Yes, of course... What I'm saying is that the Recent Project menu cannot be
refactored to use Context Menu with this feature only
On Nov 28, 2013 8:17 PM, "Tomás Malbrán" <notifications@github.com> wrote:

> In src/command/DefaultMenus.js:
>
> > +         */
> > +        $("#working-set-option-btn").on("click", function (e) {
> > +            var buttonOffset,
> > +                buttonHeight;
> > +
> > +            e.stopPropagation();
> > +
> > +            if (working_set_settings_cmenu.isOpen()) {
> > +                working_set_settings_cmenu.close();
> > +            } else {
> > +                buttonOffset = $(this).offset();
> > +                buttonHeight = $(this).outerHeight();
> > +                working_set_settings_cmenu.open({
> > +                    pageX: buttonOffset.left,
> > +                    pageY: buttonOffset.top + buttonHeight
> > +                });
>
> That close button is to remove the projects from the menu, and not to
> close the menu, so it is a particular feature of the Recent projects menu,
> which doesn't even need to work with this code, and should stay where is
> implemented. This would be just to open and close both menus when clicking
> on the button/link.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/adobe/brackets/pull/6107/files#r7991026>
> .
>