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
e7639d58
Commit
e7639d58
authored
Dec 06, 2016
by
Jonathan Wilkes
Browse files
fix #185: [vu] scale font discrepancy
parent
b59f40f5
Pipeline
#596
failed with stage
in 1 minute and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_vumeter.c
View file @
e7639d58
...
...
@@ -471,18 +471,20 @@ static void vu_scale(t_vu *x, t_floatarg fscale)
yyy
=
k4
+
k1
*
(
k2
-
i
);
if
((
i
&
3
)
==
1
)
{
gui_vmess
(
"gui_vumeter_draw_text"
,
"xxsiisiii"
,
gui_vmess
(
"gui_vumeter_draw_text"
,
"xxsiisiii
is
"
,
canvas
,
x
,
cbuf
,
end
+
1
,
yyy
+
k3
+
2
,
iemgui_vu_scale_str
[
i
/
4
],
i
,
end
,
yyy
);
i
,
end
,
yyy
,
x
->
x_gui
.
x_fontsize
,
sys_fontweight
);
}
}
i
=
IEM_VU_STEPS
+
1
;
yyy
=
k4
+
k1
*
(
k2
-
i
);
gui_vmess
(
"gui_vumeter_draw_text"
,
"xxsiisiii"
,
gui_vmess
(
"gui_vumeter_draw_text"
,
"xxsiisiii
is
"
,
canvas
,
x
,
cbuf
,
end
+
1
,
yyy
+
k3
+
2
,
iemgui_vu_scale_str
[
i
/
4
],
i
,
end
,
yyy
);
i
,
end
,
yyy
,
x
->
x_gui
.
x_fontsize
,
sys_fontweight
);
}
}
}
...
...
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