Mercurial > hg > orthanc-stone
diff Framework/Viewport/WidgetViewport.cpp @ 560:aaeec7be8fb7
add support for alpha channel in CairoSurface
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 17 Apr 2019 17:57:50 +0200 |
parents | b70e9be013e4 |
children | 1201b12eb9f8 |
line wrap: on
line diff
--- a/Framework/Viewport/WidgetViewport.cpp Wed Apr 17 16:16:47 2019 +0200 +++ b/Framework/Viewport/WidgetViewport.cpp Wed Apr 17 17:57:50 2019 +0200 @@ -90,7 +90,7 @@ void WidgetViewport::SetSize(unsigned int width, unsigned int height) { - background_.SetSize(width, height); + background_.SetSize(width, height, false /* no alpha */); if (centralWidget_.get() != NULL) {