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

13.) Cleanup rotation example #20

Open
wants to merge 4 commits into
base: development
Choose a base branch
from

Conversation

IzaZed
Copy link

@IzaZed IzaZed commented Jun 21, 2020

No description provided.

Copy link
Member

@AndreMiras AndreMiras left a comment

Choose a reason for hiding this comment

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

LGTM (untested)

Comment on lines +6 to +11
from kivy3 import Scene
from kivy3 import Renderer
from kivy3 import PerspectiveCamera
from kivy3 import Geometry
from kivy3 import Material
from kivy3 import Mesh
Copy link
Member

Choose a reason for hiding this comment

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

I'm still not convinced it's the most Pythonic way to deal with this 😅
For instance look how black or isort are dealing with imports
Edit: Just sharing my though, but don't change it, I think rnixx prefers it this way and it's consistent with the other changes

@@ -158,12 +153,13 @@ def build(self):
root.controls = controls
box.add_widget(controls)

return box
def _adjust_aspect(inst, val):
Copy link
Member

Choose a reason for hiding this comment

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

Please make _adjust_aspect a class member again.

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

3 participants