Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
e7d04616
Commit
e7d04616
authored
Feb 19, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosxd 2.0.0's 1 bug: fixed redraw issue within the time slider (close #6057)
parent
c7f4fdf8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+3
-3
modules/gui/macosx/misc.m
modules/gui/macosx/misc.m
+2
-0
No files found.
modules/gui/macosx/MainWindow.m
View file @
e7d04616
...
...
@@ -703,7 +703,6 @@ static VLCMainWindow *_o_sharedInstance = nil;
[
o_fspanel
setStreamPos
:
f_updated
andTime
:
o_time
];
vlc_object_release
(
p_input
);
}
[
self
drawFancyGradientEffectForTimeSlider
];
}
-
(
IBAction
)
volumeAction
:(
id
)
sender
...
...
@@ -984,9 +983,11 @@ static VLCMainWindow *_o_sharedInstance = nil;
if
(
dur
==
-
1
)
{
[
o_time_sld
setEnabled
:
NO
];
[
o_time_sld
setHidden
:
YES
];
[
o_time_sld_fancygradient_view
setHidden
:
YES
];
}
else
{
[
o_time_sld
setEnabled
:
YES
];
[
o_time_sld
setHidden
:
NO
];
[
o_time_sld_fancygradient_view
setHidden
:
NO
];
}
[
o_time_fld
setStringValue
:
o_time
];
...
...
@@ -1000,9 +1001,8 @@ static VLCMainWindow *_o_sharedInstance = nil;
[
o_time_fld
setStringValue
:
@"00:00"
];
[
o_time_sld
setEnabled
:
NO
];
[
o_time_sld
setHidden
:
YES
];
[
o_time_sld_fancygradient_view
setHidden
:
YES
];
}
[
self
performSelectorOnMainThread
:
@selector
(
drawFancyGradientEffectForTimeSlider
)
withObject
:
nil
waitUntilDone
:
NO
];
}
-
(
void
)
updateVolumeSlider
...
...
modules/gui/macosx/misc.m
View file @
e7d04616
...
...
@@ -681,6 +681,8 @@ void _drawFrameInRect(NSRect frameRect)
NSRect
knobRect
=
[[
self
cell
]
knobRectFlipped
:
NO
];
knobRect
.
origin
.
y
+=
1
;
[
self
drawKnobInRect
:
knobRect
];
[(
VLCMainWindow
*
)[
self
window
]
drawFancyGradientEffectForTimeSlider
];
}
@end
...
...
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