bfg-common 1.4.419 → 1.4.420
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/components/common/layout/theHeader/feedback/new/additionalDetails/AdditionalDetails.vue
CHANGED
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
type="default"
|
|
71
71
|
variant="outline"
|
|
72
72
|
class="btn marker"
|
|
73
|
+
:class="drawerMarker === 'marker' && 'active'"
|
|
73
74
|
@click="onUseRedMarker"
|
|
74
75
|
>
|
|
75
76
|
<ui-icon
|
|
@@ -87,6 +88,7 @@
|
|
|
87
88
|
type="default"
|
|
88
89
|
variant="outline"
|
|
89
90
|
class="btn eraser"
|
|
91
|
+
:class="drawerMarker === 'eraser' && 'active'"
|
|
90
92
|
@click="onUseGrayEraser"
|
|
91
93
|
>
|
|
92
94
|
<ui-icon
|
|
@@ -280,8 +282,7 @@ const onUploadFile = (): void => {
|
|
|
280
282
|
feedbackImg.value.width = img.width
|
|
281
283
|
feedbackImg.value.height = img.height
|
|
282
284
|
|
|
283
|
-
|
|
284
|
-
feedbackImg.value.style.height = img.height / (img.width / 500) + 'px'
|
|
285
|
+
updateFeedbackImageDimensions()
|
|
285
286
|
|
|
286
287
|
context.drawImage(img, 0, 0, img.width, img.height)
|
|
287
288
|
drawingArray.length = 0
|