Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
purr-data
Commits
f0dda44b
Commit
f0dda44b
authored
Nov 08, 2017
by
Jonathan Wilkes
Browse files
Merge branch 'vu-fix' into drawarray-simplify
parents
d0861145
c431abf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/pdgui.js
View file @
f0dda44b
...
...
@@ -2959,14 +2959,19 @@ function gui_vumeter_update_rms(cid, tag, p1, p2, p3, p4, basex, basey) {
}
function
gui_vumeter_update_peak
(
cid
,
tag
,
color
,
p1
,
p2
,
p3
,
p4
,
basex
,
basey
)
{
var
line
=
get_item
(
cid
,
tag
+
"
peak
"
);
configure_item
(
line
,
{
x1
:
p1
-
basex
,
y1
:
p2
-
basey
,
x2
:
p3
-
basex
,
y2
:
p4
-
basey
,
stroke
:
color
});
var
line
;
if
(
patchwin
[
cid
])
{
line
=
get_item
(
cid
,
tag
+
"
peak
"
);
if
(
line
)
{
configure_item
(
line
,
{
x1
:
p1
-
basex
,
y1
:
p2
-
basey
,
x2
:
p3
-
basex
,
y2
:
p4
-
basey
,
stroke
:
color
});
}
}
}
function
gui_iemgui_base_color
(
cid
,
tag
,
color
)
{
...
...
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