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
9ad4b3dd
Commit
9ad4b3dd
authored
Nov 15, 2017
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated the layout calls for FABMenu's fabButton
parent
71297854
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
CHANGELOG.md
+2
-0
Sources/iOS/FABMenu.swift
+3
-1
Sources/iOS/Layout.swift
+0
-7
No files found.
CHANGELOG.md
View file @
9ad4b3dd
## 2.12.16
*
[
issue-965
](
https://github.com/CosmicMind/Material/issues/965
)
: Removed duplicate
`prepare`
call in initializer.
*
Rework of Layout's internal process - removed an async call to layout views.
*
Updated the layout calls for FABMenu's fabButton.
## 2.12.15
...
...
Sources/iOS/FABMenu.swift
View file @
9ad4b3dd
...
...
@@ -316,7 +316,9 @@ open class FABMenu: View {
open
override
func
layoutSubviews
()
{
super
.
layoutSubviews
()
fabButton
?
.
frame
.
size
=
bounds
.
size
fabButton
?
.
frame
=
bounds
fabButton
?
.
setNeedsLayout
()
fabButton
?
.
layoutIfNeeded
()
spring
.
baseSize
=
bounds
.
size
}
...
...
Sources/iOS/Layout.swift
View file @
9ad4b3dd
...
...
@@ -639,13 +639,6 @@ fileprivate extension Layout {
view
.
updateConstraints
()
view
.
setNeedsLayout
()
view
.
layoutIfNeeded
()
Motion
.
async
{
view
.
updateConstraintsIfNeeded
()
view
.
updateConstraints
()
view
.
setNeedsLayout
()
view
.
layoutIfNeeded
()
}
}
/**
...
...
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