Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
Motion
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitriy Stepanets
Motion
Commits
650dd64c
Unverified
Commit
650dd64c
authored
Jun 13, 2017
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated internals for Full Screen booleans
parent
5653affe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
Sources/Motion.swift
+10
-2
No files found.
Sources/Motion.swift
View file @
650dd64c
...
...
@@ -190,12 +190,20 @@ public class Motion: MotionController {
/// Indicates whether the from view controller is full screen.
internal
var
fromOverFullScreen
:
Bool
{
return
!
isContainerController
&&
(
.
overFullScreen
==
fromViewController
!.
modalPresentationStyle
||
.
overCurrentContext
==
fromViewController
!.
modalPresentationStyle
)
guard
let
v
=
fromViewController
else
{
return
false
}
return
!
isContainerController
&&
(
.
overFullScreen
==
v
.
modalPresentationStyle
||
.
overCurrentContext
==
v
.
modalPresentationStyle
)
}
/// Indicates whether the to view controller is full screen.
internal
var
toOverFullScreen
:
Bool
{
return
!
isContainerController
&&
(
.
overFullScreen
==
toViewController
!.
modalPresentationStyle
||
.
overCurrentContext
==
toViewController
!.
modalPresentationStyle
)
guard
let
v
=
toViewController
else
{
return
false
}
return
!
isContainerController
&&
(
.
overFullScreen
==
v
.
modalPresentationStyle
||
.
overCurrentContext
==
v
.
modalPresentationStyle
)
}
/// A reference to the fromView, fromViewController.view.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment