bfg-common 1.3.377 → 1.3.379
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.
|
@@ -239,7 +239,7 @@ const wizard: Wizard = new Wizard(
|
|
|
239
239
|
if (isSphere.value) wizard.changeScheme(1)
|
|
240
240
|
const wasCompleted = computed<boolean>(() => wizard.wasCompleted())
|
|
241
241
|
const selectedScheme = computed<number[]>(() => wizard.selectedScheme.value)
|
|
242
|
-
const alertMessages = computed<string[][]>(() => wizard.alertMessages.value)
|
|
242
|
+
// const alertMessages = computed<string[][]>(() => wizard.alertMessages.value)
|
|
243
243
|
|
|
244
244
|
const isShowPowerOn = computed<boolean>(() => wizard.selectedStepId > 8)
|
|
245
245
|
|
package/package.json
CHANGED
|
@@ -125,6 +125,10 @@ wdi.CodecVp8 = {
|
|
|
125
125
|
G = Math.round(Y - 0.39465 * (U - 128) - 0.5806 * (V - 128))
|
|
126
126
|
B = Math.round(Y + 2.03211 * (U - 128))
|
|
127
127
|
|
|
128
|
+
// outputData[0 + w * 4 + width * 4 * h] = R
|
|
129
|
+
// outputData[1 + w * 4 + width * 4 * h] = G
|
|
130
|
+
// outputData[2 + w * 4 + width * 4 * h] = B
|
|
131
|
+
// outputData[3 + w * 4 + width * 4 * h] = 255
|
|
128
132
|
// Изменим порядок записи пикселей, чтобы перевернуть изображение
|
|
129
133
|
const flippedIndex = ((height - 1 - h) * width + w) * 4
|
|
130
134
|
outputData[flippedIndex] = R
|