Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

fix function _showApplications() #8

Closed
boris-gu opened this issue Apr 23, 2019 · 0 comments
Closed

fix function _showApplications() #8

boris-gu opened this issue Apr 23, 2019 · 0 comments

Comments

@boris-gu
Copy link

boris-gu commented Apr 23, 2019

Now the function looks like this:

_showApplications() {
        this._rippleAnimation();
        Main.overview.viewSelector._toggleAppsPage();
}

But instead of closing the application menu it opens the overview.
This code works well for me.

_showApplications() {
        this._rippleAnimation();
        if (! Main.overview.viewSelector._showAppsButton.checked)
        {
                Main.overview.viewSelector._toggleAppsPage();
        }
        else
        {
                Main.overview.hide();
        }
}

Why not change?

@janxyz janxyz closed this as completed in 0028921 Feb 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant