Skip to content

Commit

Permalink
Merge pull request #5 from aapis/feature/remove-shadow-fix-export-siz…
Browse files Browse the repository at this point in the history
…e-bug

Bug fix: export size issue
  • Loading branch information
aapis authored Sep 2, 2024
2 parents 5225d7d + 18339d0 commit d716040
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions AppIconGenerator/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ struct ContentView: View {
if !sfsAppIcon.isEmpty {
Image(systemName: sfsAppIcon)
.font(.system(size: 700))
.opacity(0.8)
// .opacity(0.8)
.foregroundColor(iconFgColour())
.symbolRenderingMode(.hierarchical)
}
Expand All @@ -61,10 +61,8 @@ struct ContentView: View {
.mask(
ZStack {
RoundedRectangle(cornerRadius: CGFloat(maskCornerRoundness))
.frame(width: 1016, height: 1016)
}
)
.shadow(color: .black.opacity(0.3), radius: 8, x: 10, y: -10)
.frame(width: 1124, height: 1124)
.background(.clear)
} else if imageType == .wallpaper {
Expand Down

0 comments on commit d716040

Please sign in to comment.