From 302606564cde0465bcd7c45e1e92db545b8da637 Mon Sep 17 00:00:00 2001 From: TrueZhuangjia Date: Thu, 3 Apr 2025 01:04:03 +0800 Subject: [PATCH] tweak dPad & L3R3 indicator --- Limelight/Input/OnScreenWidgetView.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Limelight/Input/OnScreenWidgetView.swift b/Limelight/Input/OnScreenWidgetView.swift index 743aeaf2..04b5aac7 100644 --- a/Limelight/Input/OnScreenWidgetView.swift +++ b/Limelight/Input/OnScreenWidgetView.swift @@ -404,9 +404,9 @@ import UIKit let indicatorFrame = CAShapeLayer(); let indicatorBorder = CAShapeLayer(); - indicatorFrame.frame = CGRectMake(0, 0, 80, 80) + indicatorFrame.frame = CGRectMake(0, 0, 75, 75) indicatorFrame.cornerRadius = 9 - indicatorBorder.borderWidth = 7.5 + indicatorBorder.borderWidth = 7 indicatorBorder.frame = indicatorFrame.bounds.insetBy(dx: -indicatorBorder.borderWidth, dy: -indicatorBorder.borderWidth) // Adjust the inset as needed indicatorBorder.borderColor = UIColor.clear.cgColor @@ -592,7 +592,7 @@ import UIKit let indicatorFrame = CAShapeLayer(); let indicatorBorder = CAShapeLayer(); - indicatorFrame.frame = CGRectMake(0, 0, 70, 70) + indicatorFrame.frame = CGRectMake(0, 0, 75, 75) indicatorFrame.cornerRadius = 9 indicatorBorder.borderWidth = 6 indicatorBorder.frame = indicatorFrame.bounds.insetBy(dx: -indicatorBorder.borderWidth, dy: -indicatorBorder.borderWidth) // Adjust the inset as needed