From 30a6fdb6fcc77b190dc267524cf30794a8fba48d Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichornlover@users.noreply.github.com> Date: Sun, 10 Mar 2024 23:39:22 -0500 Subject: [PATCH] New Option `Hide double tap to seek overlay` - https://github.com/arichornlover/uYouEnhanced/issues/351 --- Sources/uYouPlus.xm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Sources/uYouPlus.xm b/Sources/uYouPlus.xm index d4ee50d..85ed8b3 100644 --- a/Sources/uYouPlus.xm +++ b/Sources/uYouPlus.xm @@ -570,6 +570,16 @@ static NSString *accessGroupID() { } %end +// Hide double tap to seek overlay - @arichornlover +%hook YTInlinePlayerDoubleTapIndicatorView +- (CGFloat)circleRadius { + if IS_ENABLED(@"hideDoubleTapToSeekOverlay_enabled") { + return 0; + } + return %orig; +} +%end + // Video Controls Overlay Options // Hide CC / Hide Autoplay switch / Hide YTMusic Button / Enable Share Button / Enable Save to Playlist Button %hook YTMainAppControlsOverlayView