using subControlRect
This commit is contained in:
parent
e49da68ab3
commit
02a63cdd76
|
@ -132,17 +132,15 @@ namespace
|
|||
{
|
||||
const auto window = overlay->window();
|
||||
|
||||
if ( overlay->size().isEmpty() )
|
||||
const auto rect = overlay->subControlRect( Overlay::Panel );
|
||||
if ( rect.isEmpty() )
|
||||
return nullptr;
|
||||
|
||||
auto rootNode = qskScenegraphAnchorNode( window );
|
||||
if ( rootNode == nullptr )
|
||||
return nullptr;
|
||||
|
||||
const auto rect = overlay->subControlRect( Overlay::Panel );
|
||||
|
||||
auto textureNode = static_cast< FilterNode* >( node );
|
||||
|
||||
if ( textureNode == nullptr )
|
||||
{
|
||||
auto texture = new QskSceneTexture( window );
|
||||
|
|
Loading…
Reference in New Issue