Skip to content

Commit 56ec71e

Browse files
author
Achyut Kumar M
committed
add border to option image
1 parent 13533d4 commit 56ec71e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

GoInfoGame/GoInfoGame/quests/LongQuests/Components/QuestOptions.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@ struct QuestOptions: View {
113113
.scaledToFill()
114114
.frame(width: 100, height: 100)
115115
.clipped()
116+
//add grey border to image
117+
.overlay(
118+
RoundedRectangle(cornerRadius: 8)
119+
.stroke(Color.gray, lineWidth: 1)
120+
)
116121

117122
ZStack {
118123
let strokeOffsets: [(CGFloat, CGFloat)] = [

0 commit comments

Comments
 (0)