From a1eadd6772c830a4d0fa29e225f98a18a4e1e177 Mon Sep 17 00:00:00 2001 From: Avery Pace Date: Mon, 8 Nov 2021 12:25:57 -0500 Subject: [PATCH] Missing one line, height for flashcard --- Toki Trainer/Views/FlashCardView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Toki Trainer/Views/FlashCardView.swift b/Toki Trainer/Views/FlashCardView.swift index a41bb6c..5fedee5 100644 --- a/Toki Trainer/Views/FlashCardView.swift +++ b/Toki Trainer/Views/FlashCardView.swift @@ -238,7 +238,7 @@ struct FlashCard: View { Text("") .modifier(CardFlipModifier(isFaceDown: isFaceDown, frontText: dictionaryEntry.word, backText: concatenateDefinitions())) - .frame(width: 0.8 * screen.width) + .frame(width: 0.8 * screen.width, height: 200) .offset(x: isFaceDown ? -dragAmount : dragAmount, y: abs(dragAmount) / 10) .rotationEffect(.degrees(isFaceDown ? -(dragAmount / 50) : dragAmount / 50)) .font(.title)