Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Padding correction #184

Merged
merged 2 commits into from Jun 4, 2021
Merged

Padding correction #184

merged 2 commits into from Jun 4, 2021

Conversation

ghost
Copy link

@ghost ghost commented Jun 4, 2021

Hi @orapps44 What do you think ?

Copy link
Collaborator

@orapps44 orapps44 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @gabigtr5 ,

What the new condition is supposed to do ?

            if((_statusBarBounds.Contains(PointToClient(Cursor.Position)) || _actionBarBounds.Contains(PointToClient(Cursor.Position))) &&
            !(_minButtonBounds.Contains(PointToClient(Cursor.Position)) || _maxButtonBounds.Contains(PointToClient(Cursor.Position)) || _xButtonBounds.Contains(PointToClient(Cursor.Position))))

@ghost
Copy link
Author

ghost commented Jun 4, 2021

It should not let you maximize the window unless you double-click on the title bar. I noticed that in a new window, without a drawer, when you double-click in the center of the window, it is maximized.

@orapps44 orapps44 marked this pull request as ready for review June 4, 2021 22:02
@orapps44 orapps44 merged commit 93f23ba into leocb:master Jun 4, 2021
@orapps44 orapps44 added this to the 2.2.1 milestone Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants