diff --git a/src/background.ts b/src/background.ts
index e07342e..e08bc2a 100644
--- a/src/background.ts
+++ b/src/background.ts
@@ -34,7 +34,7 @@ function createWindow() {
// Create the browser window.
win = new BrowserWindow({
width: 800,
- height: 600,
+ height: 1200,
webPreferences: {
// Use pluginOptions.nodeIntegration, leave this alone
// See nklayman.github.io/vue-cli-plugin-electron-builder/guide/security.html#node-integration for more info
@@ -59,7 +59,10 @@ function createWindow() {
recorder.start({
onAudio: (audio: object, speech: boolean) => {
if (win) {
- win.webContents.send('render-audio', audio)
+ win.webContents.send('render-audio', {
+ audio: audio,
+ speech: speech
+ })
}
if (speech) {
// TODO: send audio to crimata BE
diff --git a/src/components/AI/index.vue b/src/components/AI/index.vue
index 2afa6f1..edcc65f 100644
--- a/src/components/AI/index.vue
+++ b/src/components/AI/index.vue
@@ -4,12 +4,12 @@
id="radial-gradient"
cx="0.5"
cy="1"
- r="0.54"
+ :r="radius"
gradientTransform="translate(-1.489 1.5) rotate(-90) scale(1 1.989)"
gradientUnits="objectBoundingBox"
>
-
+
@@ -33,85 +33,80 @@