Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Memri
ASCollectionView
Commits
0991e4f8
Commit
0991e4f8
authored
4 years ago
by
Antonino Francesco Musolino
Browse files
Options
Download
Email Patches
Plain Diff
fix the maintainPosition modifier, that doesn't set the given value
parent
83dcf83d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Sources/ASCollectionView/ASCollectionView+Modifiers.swift
+1
-1
Sources/ASCollectionView/ASCollectionView+Modifiers.swift
with
1 addition
and
1 deletion
+1
-1
Sources/ASCollectionView/ASCollectionView+Modifiers.swift
+
1
-
1
View file @
0991e4f8
...
...
@@ -129,7 +129,7 @@ public extension ASCollectionView
func
shouldAttemptToMaintainScrollPositionOnOrientationChange
(
maintainPosition
:
Bool
)
->
Self
{
var
this
=
self
this
.
maintainScrollPositionOnOrientationChange
=
true
this
.
maintainScrollPositionOnOrientationChange
=
maintainPosition
return
this
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets