-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathStuffIMightNeed.mm
25 lines (23 loc) · 965 Bytes
/
StuffIMightNeed.mm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// The wildcard in my makefile is not building .mm files so I don't need to
// worry about this trying to compile
// clang-format kinda killed any logos formatting,
// ... I should have thought of that.. and changed the file extension to .x or
// something
/////////////////////////////////
% hook AVPlaybackControlsView
- (void)playbackControlsView
: (id)arg1 animateAlongsideVisibilityAnimationsWithAnimationCoordinator
: (id)arg2 appearingViews : (id)arg3 disappearingViews : (id)arg4 {
// %orig;
if (showing) {
// blurEffectView.alpha = 0;
[[NSNotificationCenter defaultCenter] postNotificationName:@"hideScrubber"
object:self];
} else {
// blurEffectView.alpha = 0.4f;
[[NSNotificationCenter defaultCenter] postNotificationName:@"showScrubber"
object:self];
}
}
% end
///////////////////////////////////