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

Adds iPad support to Kanvas #112

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Adds iPad support to Kanvas #112

wants to merge 7 commits into from

Conversation

bjtitus
Copy link
Collaborator

@bjtitus bjtitus commented Apr 30, 2021

Adds basic iPad support to Kanvas.

  • Handles rotation by refreshing the capture session when device rotates.
  • Uses the same constraints as the non-home button iPhones for positioning preview
  • Adds a new KanvasEditorDesign.storiesDesign for tweaking button sizing.
  • Adds a new CameraSettings.showShadowOverMediaClips flag for disabling the shadow on either side of the media clips view.

@bjtitus bjtitus added the stories Related to the Stories project label Apr 30, 2021
@bjtitus bjtitus self-assigned this Apr 30, 2021
Copy link
Collaborator

@danielebogo danielebogo left a comment

Choose a reason for hiding this comment

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

This looks good to me. I'm gonna test this with the other PR.
I left one nit here but not a blocker

@@ -285,6 +285,9 @@ final class EditorTextController: UIViewController, EditorTextViewDelegate, Colo
// This method is called inside the keyboard animation,
// so any UI change made here will be animated.
@objc func keyboardWillHide(notification: NSNotification) {
if isHiding == false && textView.alpha != 0 {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could this one be if !isHiding ..... {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stories Related to the Stories project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants