Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
d4f8bdb3
Commit
d4f8bdb3
authored
Jun 08, 2013
by
Gleb Pinigin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Movie view: increase idle timeout for hiding controls(from 2 to 4 seconds)
parent
f99349af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
AspenProject/VLCMovieViewController.m
AspenProject/VLCMovieViewController.m
+3
-3
No files found.
AspenProject/VLCMovieViewController.m
View file @
d4f8bdb3
...
...
@@ -388,14 +388,14 @@
-
(
void
)
_resetIdleTimer
{
if
(
!
_idleTimer
)
_idleTimer
=
[
NSTimer
scheduledTimerWithTimeInterval
:
2
.
_idleTimer
=
[
NSTimer
scheduledTimerWithTimeInterval
:
4
.
target:
self
selector:
@selector
(
idleTimerExceeded
)
userInfo:
nil
repeats:
NO
];
else
{
if
(
fabs
([
_idleTimer
.
fireDate
timeIntervalSinceNow
])
<
2
.)
[
_idleTimer
setFireDate
:[
NSDate
dateWithTimeIntervalSinceNow
:
2
.]];
if
(
fabs
([
_idleTimer
.
fireDate
timeIntervalSinceNow
])
<
4
.)
[
_idleTimer
setFireDate
:[
NSDate
dateWithTimeIntervalSinceNow
:
4
.]];
}
}
...
...
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