Skip to content

Commit

Permalink
wring pen check fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
uwerat committed Dec 5, 2023
1 parent 2419183 commit c58a861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nodes/QskStrokeNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ static inline bool qskIsPenVisible( const QPen& pen )
}
else
{
if ( pen.color().isValid() || ( pen.color().alpha() == 0 ) )
if ( !pen.color().isValid() || ( pen.color().alpha() == 0 ) )
return false;
}

Expand Down

0 comments on commit c58a861

Please sign in to comment.