From ecef8b11a6401f765070c32d2defef3b61d93be6 Mon Sep 17 00:00:00 2001 From: karthus <675377091@qq.com> Date: Thu, 4 Aug 2022 10:37:55 +0800 Subject: [PATCH] change alpha to 0,5 --- Sources/did-motif-ios/DIDMotifView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/did-motif-ios/DIDMotifView.swift b/Sources/did-motif-ios/DIDMotifView.swift index f3fcdd5..7c8136a 100644 --- a/Sources/did-motif-ios/DIDMotifView.swift +++ b/Sources/did-motif-ios/DIDMotifView.swift @@ -110,7 +110,7 @@ extension DIDMotifView { subLayer.isHidden = false subLayer.path = DIDMotifUtils.hexagonPathWith(side: itemWidth).cgPath subLayer.bounds = CGRect(x: 0, y: 0, width: itemWidth, height: itemWidth) - subLayer.fillColor = UIColor(white: 1, alpha: 0.3).cgColor + subLayer.fillColor = UIColor(white: 1, alpha: 0.5).cgColor let point = points?.objectAtIndexSafely(index: index) ?? CGPoint.zero subLayer.position = point if animated {