Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Samo Golež
VLC
Commits
cae48bae
Commit
cae48bae
authored
Aug 18, 2018
by
Marvin Scholz
Browse files
macosx: Set correct state/highlight for badge button
parent
9385e8ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/macosx/VLCSourceListBadgeButton.m
View file @
cae48bae
...
...
@@ -33,6 +33,17 @@
return
nil
;
}
-
(
instancetype
)
initWithCoder
:(
NSCoder
*
)
coder
{
self
=
[
super
initWithCoder
:
coder
];
if
(
self
)
{
[(
NSButtonCell
*
)[
self
cell
]
setShowsStateBy
:
0
];
[(
NSButtonCell
*
)[
self
cell
]
setHighlightsBy
:
0
];
}
return
self
;
}
/* Our badges show integer values so make it easier to set those by setting
* the title depending on the integer value.
*/
...
...
Write
Preview
Supports
Markdown
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