Skip to content

Commit

Permalink
chore #51: 변수명 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
enebin committed Aug 13, 2023
1 parent d9e03cb commit 89c6bd1
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ struct SubCircleView: View {
var body: some View {
ZStack {
ZStack {
designedCircle
designedCircleShape

contentView
circleContentView
.frame(width: 75, height: 75)
.zIndex(1)
}
Expand All @@ -71,10 +71,11 @@ extension SubCircleView: GeometryAnimatableCircle {
"인싸력"
}

var designedCircle: some View {
var designedCircleShape: some View {
Circle()
.fill(circleData.color)
.overlay {
// 아웃라인 이펙트를 위한 안보이는 원
Circle()
.fill(.clear)
.matchedGeometryEffect(
Expand All @@ -88,7 +89,7 @@ extension SubCircleView: GeometryAnimatableCircle {
anchor: .center)
}

var contentView: some View {
var circleContentView: some View {
VStack {
icon
.foregroundColor(isPressed ? .white : .black.opacity(0.4))
Expand Down

0 comments on commit 89c6bd1

Please sign in to comment.