mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-05 00:19:56 +00:00
Improvements to Disable Ambient Mode
This commit is contained in:
parent
1bce31bf4d
commit
0b113fc70a
1 changed files with 22 additions and 4 deletions
26
uYouPlus.xm
26
uYouPlus.xm
|
|
@ -612,8 +612,17 @@ int main(int argc, char * argv[]) {
|
|||
%end
|
||||
|
||||
%hook YTCinematicContainerView // Disable Ambient Mode Container - YTNoModernUI
|
||||
- (instancetype)init {
|
||||
return NULL;
|
||||
- (BOOL)watchFullScreenCinematicSupported {
|
||||
return NO;
|
||||
}
|
||||
- (BOOL)watchFullScreenCinematicEnabled {
|
||||
return NO;
|
||||
}
|
||||
- (CGFloat)cinematicWidthMultiplier {
|
||||
return 0.0;
|
||||
}
|
||||
- (CGFloat)cinematicHeightMultiplier {
|
||||
return 0.0;
|
||||
}
|
||||
%end
|
||||
|
||||
|
|
@ -681,8 +690,17 @@ int main(int argc, char * argv[]) {
|
|||
|
||||
%group gDisableAmbientMode
|
||||
%hook YTCinematicContainerView
|
||||
- (instancetype)init {
|
||||
return NULL;
|
||||
- (BOOL)watchFullScreenCinematicSupported {
|
||||
return NO;
|
||||
}
|
||||
- (BOOL)watchFullScreenCinematicEnabled {
|
||||
return NO;
|
||||
}
|
||||
- (CGFloat)cinematicWidthMultiplier {
|
||||
return 0.0;
|
||||
}
|
||||
- (CGFloat)cinematicHeightMultiplier {
|
||||
return 0.0;
|
||||
}
|
||||
%end
|
||||
%hook YTColdConfig
|
||||
|
|
|
|||
Loading…
Reference in a new issue