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

Issue 1347 use screensize #1548

Merged
merged 5 commits into from
Sep 22, 2015
Merged

Issue 1347 use screensize #1548

merged 5 commits into from
Sep 22, 2015

Conversation

doutriaux1
Copy link
Contributor

No description provided.

self.renWin.SetSize(self.canvas.bgX, self.canvas.bgY)
self._lastSize = (self.canvas.bgX, self.canvas.bgY)
screenSize = self.renWin.GetScreenSize()
bgX = int(screenSize[0]*.6)
Copy link
Contributor

Choose a reason for hiding this comment

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

what are these magic numbers? (0.6). It would be nice if you can add a comment here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

60% of the screen size, I thought it was obvious... That's a reasonable size but if you come up with a percentage you prefer feel free to update 😉

@doutriaux1
Copy link
Contributor Author

@aashish24 ready to be merged in

##bot##skip-commit
@aashish24
Copy link
Contributor

LGTM 👍

aashish24 added a commit that referenced this pull request Sep 22, 2015
@aashish24 aashish24 merged commit 46794a5 into master Sep 22, 2015
@aashish24 aashish24 deleted the issue_1347_use_screensize branch September 22, 2015 03:42
@aashish24 aashish24 restored the issue_1347_use_screensize branch September 22, 2015 04:15
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