We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdd1dc9 commit abd3e35Copy full SHA for abd3e35
frontend-vue/src/components/ar-component/ArComponent.vue
@@ -109,12 +109,12 @@ props.conService.onConnection(() => {
109
foundCard.showCardImage();
110
card.turnCardOnBack();
111
} else if (props.cardService.markerMapContainsId(foundCard.id)) {
112
- if (
113
- shareZone.cardInZone(foundCard) &&
114
- foundCard != shareZone.lastFoundCard
115
- ) {
116
- shareZone.setLastFoundCard(foundCard);
117
- props.cardService.shareLocal(foundCard.id);
+ if (shareZone.cardInZone(foundCard)) {
+ foundCard.hideCardImage();
+ if (foundCard != shareZone.lastFoundCard) {
+ shareZone.setLastFoundCard(foundCard);
+ props.cardService.shareLocal(foundCard.id);
+ }
118
}
119
120
0 commit comments