This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
DPF
mirror of
https://github.com/DISTRHO/DPF
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Fix group widgets appearing twice
pull/6/head
falkTX
9 years ago
parent
327f69dfc8
commit
34d75db7f0
2 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
dgl/src/NanoVG.cpp
+3
-0
dgl/src/WidgetPrivateData.hpp
+ 1
- 0
dgl/src/NanoVG.cpp
View File
@@ -932,6 +932,7 @@ NanoWidget::NanoWidget(NanoWidget* groupWidget)
nData(new PrivateData(this))
{
pData->needsScaling = true;
pData->skipDisplay = true;
groupWidget->nData->subWidgets.push_back(this);
}
+ 3
- 0
dgl/src/WidgetPrivateData.hpp
View File
@@ -51,7 +51,10 @@ struct Widget::PrivateData {
visible(true)
{
if (addToSubWidgets && groupWidget != nullptr)
{
skipDisplay = true;
groupWidget->pData->subWidgets.push_back(self);
}
}
~PrivateData()
Write
Preview
Loading…
Cancel
Save