Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
dbcf42a4
Commit
dbcf42a4
authored
Jul 10, 2023
by
StyleZhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix voice input in safari
parent
a93506df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
index.tsx
web/app/components/base/voice-input/index.tsx
+4
-1
No files found.
web/app/components/base/voice-input/index.tsx
View file @
dbcf42a4
...
@@ -56,7 +56,10 @@ const VoiceInput = ({
...
@@ -56,7 +56,10 @@ const VoiceInput = ({
const
y
=
(
v
-
128
)
/
50
*
canvas
.
height
const
y
=
(
v
-
128
)
/
50
*
canvas
.
height
ctx
.
moveTo
(
x
,
16
)
ctx
.
moveTo
(
x
,
16
)
ctx
.
roundRect
(
x
,
16
-
y
,
2
,
y
,
[
1
,
1
,
0
,
0
])
if
(
ctx
.
roundRect
)
ctx
.
roundRect
(
x
,
16
-
y
,
2
,
y
,
[
1
,
1
,
0
,
0
])
else
ctx
.
rect
(
x
,
16
-
y
,
2
,
y
)
ctx
.
fill
()
ctx
.
fill
()
x
+=
3
x
+=
3
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment