Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
402bc140
Commit
402bc140
authored
Nov 30, 2017
by
Carola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLCMoviewViewControlPanelView: fix breaking constraints on small devices for the playbackcontrols
parent
1a06cfab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Sources/VLCMovieViewControlPanelView.m
Sources/VLCMovieViewControlPanelView.m
+2
-2
No files found.
Sources/VLCMovieViewControlPanelView.m
View file @
402bc140
...
...
@@ -27,7 +27,7 @@
@implementation
VLCMovieViewControlPanelView
static
const
CGFloat
maxCo
mpact
Width
=
4
20
.
0
;
static
const
CGFloat
maxCo
ntrols
Width
=
4
74
.
0
;
-
(
instancetype
)
initWithFrame
:(
CGRect
)
frame
{
...
...
@@ -148,7 +148,7 @@ static const CGFloat maxCompactWidth = 420.0;
-
(
void
)
updateViewConstraints
{
BOOL
compactMode
=
CGRectGetWidth
(
self
.
frame
)
<=
maxCo
mpact
Width
;
BOOL
compactMode
=
CGRectGetWidth
(
self
.
frame
)
<=
maxCo
ntrols
Width
;
if
(
self
.
compactMode
!=
compactMode
)
{
self
.
compactMode
=
compactMode
;
[
self
setupConstraints
:
compactMode
];
...
...
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