Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
Material
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
Material
Commits
b181baab
Commit
b181baab
authored
Jan 05, 2018
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed unbalanced calls in Motion transitions.
parent
7912ff44
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
45 deletions
+6
-45
CHANGELOG.md
+5
-0
Sources/Frameworks/Motion
+1
-1
Sources/iOS/NavigationDrawerController.swift
+0
-24
Sources/iOS/TransitionController.swift
+0
-20
No files found.
CHANGELOG.md
View file @
b181baab
## 2.13.2
*
Updated to
[
Motion 1.3.2
](
https://github.com/CosmicMind/Motion/releases/tag/1.3.2
)
.
*
Fixed unbalanced calls in Motion transitions.
## 2.13.1
*
Updated to
[
Motino 1.3.1
](
https://github.com/CosmicMind/Motion/releases/tag/1.3.1
)
.
...
...
Motion
@
6b95e482
Subproject commit
aee082d3a75b65dfb01782346e6a9aebc2a68c4f
Subproject commit
6b95e482892f73c52644c95d84c54a82587032bc
Sources/iOS/NavigationDrawerController.swift
View file @
b181baab
...
...
@@ -454,30 +454,6 @@ open class NavigationDrawerController: TransitionController {
rootViewController
.
view
.
frame
=
container
.
bounds
}
open
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
leftViewController
?
.
beginAppearanceTransition
(
true
,
animated
:
animated
)
rightViewController
?
.
beginAppearanceTransition
(
true
,
animated
:
animated
)
}
open
override
func
viewDidAppear
(
_
animated
:
Bool
)
{
super
.
viewDidAppear
(
animated
)
leftViewController
?
.
endAppearanceTransition
()
rightViewController
?
.
endAppearanceTransition
()
}
open
override
func
viewWillDisappear
(
_
animated
:
Bool
)
{
super
.
viewWillDisappear
(
animated
)
leftViewController
?
.
beginAppearanceTransition
(
false
,
animated
:
animated
)
rightViewController
?
.
beginAppearanceTransition
(
false
,
animated
:
animated
)
}
open
override
func
viewDidDisappear
(
_
animated
:
Bool
)
{
super
.
viewDidDisappear
(
animated
)
leftViewController
?
.
endAppearanceTransition
()
rightViewController
?
.
endAppearanceTransition
()
}
open
override
func
viewWillTransition
(
to
size
:
CGSize
,
with
coordinator
:
UIViewControllerTransitionCoordinator
)
{
super
.
viewWillTransition
(
to
:
size
,
with
:
coordinator
)
// Ensures the view is isHidden.
...
...
Sources/iOS/TransitionController.swift
View file @
b181baab
...
...
@@ -112,26 +112,6 @@ open class TransitionController: UIViewController {
prepare
()
}
open
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
rootViewController
.
beginAppearanceTransition
(
true
,
animated
:
animated
)
}
open
override
func
viewDidAppear
(
_
animated
:
Bool
)
{
super
.
viewDidAppear
(
animated
)
rootViewController
.
endAppearanceTransition
()
}
open
override
func
viewWillDisappear
(
_
animated
:
Bool
)
{
super
.
viewWillDisappear
(
animated
)
rootViewController
.
beginAppearanceTransition
(
false
,
animated
:
animated
)
}
open
override
func
viewDidDisappear
(
_
animated
:
Bool
)
{
super
.
viewDidDisappear
(
animated
)
rootViewController
.
endAppearanceTransition
()
}
open
override
func
viewWillLayoutSubviews
()
{
super
.
viewWillLayoutSubviews
()
layoutSubviews
()
...
...
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