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

Content view frame checks for hideTitleBarInFullScreen in Fullscreen mode #174

Merged
merged 3 commits into from Jul 4, 2014
Merged

Conversation

nscoding
Copy link
Contributor

@nscoding nscoding commented Jul 1, 2014

No description provided.

@nscoding
Copy link
Contributor Author

nscoding commented Jul 1, 2014

When it moves in fullscreen it doesnt check for the hideTitleBarInFullScreen which is causing the content view to overlap with the titlebar.

if (self.hideTitleBarInFullScreen) {
contentRect.size.height = NSHeight(windowFrame);
}
else {
Copy link
Owner

Choose a reason for hiding this comment

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

Style: else on same line as the closing brace above it.

@indragiek
Copy link
Owner

Looks good, just one little nitpick :)

@nscoding
Copy link
Contributor Author

nscoding commented Jul 4, 2014

@indragiek 👍

indragiek added a commit that referenced this pull request Jul 4, 2014
Content view frame checks for hideTitleBarInFullScreen in Fullscreen mode
@indragiek indragiek merged commit acd4372 into indragiek:master Jul 4, 2014
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