Skip to content

Commit

Permalink
realigned ten images. closes HomeyPad AudioKit#22
Browse files Browse the repository at this point in the history
  • Loading branch information
landlessness committed Mar 12, 2024
1 parent bd67b50 commit 57cc4b5
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions Sources/Keyboard/IntervallicKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -223,15 +223,21 @@ public struct IntervallicKey: View {
if self.intervalType == .tonic {
NitterHouse()
.foregroundColor(self.iconColor)
// .stroke(self.iconColor, style: StrokeStyle(lineWidth: 3, lineJoin: .round))
.aspectRatio(1.0, contentMode: .fit)
.frame(width: proxy.size.width*0.35)
} else if self.intervalType == .perfect {
NitterTent()
.foregroundColor(self.iconColor)
// .stroke(self.iconColor, style: StrokeStyle(lineWidth: 2.5, lineJoin: .round))
.aspectRatio(1.0, contentMode: .fit)
.frame(width: proxy.size.width*0.3)
VStack(spacing: 0) {
NitterTent()
.foregroundColor(self.iconColor)
.aspectRatio(1.0, contentMode: .fit)
.frame(width: proxy.size.width*0.3)
.offset(y: proxy.size.height * 0.25 + 0.5 * proxy.size.width*0.3)
NitterTent()
.foregroundColor(self.iconColor)
.aspectRatio(1.0, contentMode: .fit)
.frame(width: proxy.size.width*0.3)
.offset(y: -proxy.size.height * 0.25 - 0.5 * proxy.size.width*0.3)
}
} else if self.intervalType == .consonant {
Diamond()
.foregroundColor(self.iconColor)
Expand Down

0 comments on commit 57cc4b5

Please sign in to comment.