bfg-common 1.4.419 → 1.4.421

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.
@@ -180,9 +180,11 @@ const onSubmit = (): void => {
180
180
  :root {
181
181
  --feedback-text-color: #4d5d69;
182
182
  --feedback-tooltip-close-color: #213444;
183
+ --feedback-tab-active-bg-color: #008fd60f;
183
184
  }
184
185
  :root.dark-theme {
185
186
  --feedback-text-color: #e9eaec;
186
187
  --feedback-tooltip-close-color: #e9eaec;
188
+ --feedback-tab-active-bg-color: #2ba2de14;
187
189
  }
188
190
  </style>
@@ -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
- feedbackImg.value.style.width = '500px'
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
@@ -511,8 +512,9 @@ watch(
511
512
  }
512
513
 
513
514
  &.active {
514
- border: 1.4px solid var(--feedback-tab-active-text-color);
515
+ background: var(--feedback-tab-active-bg-color);
515
516
  color: var(--feedback-tab-active-text-color);
517
+ border: 1.4px solid var(--feedback-tab-active-text-color);
516
518
  }
517
519
  }
518
520
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.419",
4
+ "version": "1.4.421",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",