diff --git a/src/css/detect.css b/src/css/detect.css index 3070cd9..650a347 100644 --- a/src/css/detect.css +++ b/src/css/detect.css @@ -129,7 +129,6 @@ .structure-info { position: absolute; - transform: translate(-50%,-50%); z-index: 3; color: rgb(15, 32, 108); background: yellow; diff --git a/src/pages/detect.vue b/src/pages/detect.vue index 8761971..699b3c3 100644 --- a/src/pages/detect.vue +++ b/src/pages/detect.vue @@ -17,7 +17,7 @@ = 50) ? 0 : Math.min(10, 50 - boxMin) + + imageCtx.strokeRect(boxLeft, boxTop, boxWidth, boxHeight) this.selectedChip = iChip this.resultData.detections[iChip].beenViewed = true },