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
38
Wiki
Activity
Browse Source
Wrap PlugWidget size to plug SVG instead of infinite.
tags/v2.0.0
Andrew Belt
3 years ago
parent
dd5fea40e9
commit
8102678e9c
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/app/CableWidget.cpp
+ 2
- 0
src/app/CableWidget.cpp
View File
@@ -68,6 +68,8 @@ struct PlugWidget : widget::Widget {
plugLight = new PlugLight;
plugLight->setPosition(plugLight->getSize().mult(-0.5));
addChild(plugLight);
setSize(plug->getSize());
}
void step() override {
Write
Preview
Loading…
Cancel
Save