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
Don't try to render widgets wth invalid size
pull/61/head
falkTX
5 years ago
parent
8e747ec0d5
commit
5f3b6e57d8
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
dgl/src/WidgetPrivateData.hpp
+ 1
- 1
dgl/src/WidgetPrivateData.hpp
View File
@@ -65,7 +65,7 @@ struct Widget::PrivateData {
void display(const uint width, const uint height)
{
if (skipDisplay || ! visible)
if (skipDisplay ||
size.isInvalid() ||
! visible)
return;
bool needsDisableScissor = false;
Write
Preview
Loading…
Cancel
Save