This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
43
Wiki
Activity
Browse Source
Don't draw shadow if opacity is 0
pull/1639/head
Andrew Belt
7 years ago
parent
e2f824938b
commit
f0488000e7
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/app/CircularShadow.cpp
+ 1
- 1
src/app/CircularShadow.cpp
View File
@@ -10,7 +10,7 @@ CircularShadow::CircularShadow() {
}
void CircularShadow::draw(NVGcontext *vg) {
if (opacity < 0.0)
if (opacity <
=
0.0)
return;
nvgBeginPath(vg);
Write
Preview
Loading…
Cancel
Save