mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Direct2D: Fix issue where vertical/horizontal lines were ignored by strokePath
This commit is contained in:
parent
e3df22a4ea
commit
eca83213eb
1 changed files with 1 additions and 1 deletions
|
|
@ -1434,7 +1434,7 @@ void Direct2DGraphicsContext::strokePath (const Path& p, const PathStrokeType& s
|
|||
{
|
||||
JUCE_SCOPED_TRACE_EVENT_FRAME (etw::drawPath, etw::direct2dKeyword, getFrameId());
|
||||
|
||||
if (p.isEmpty())
|
||||
if (p.getBounds().withZeroOrigin() == Rectangle<float>{})
|
||||
return;
|
||||
|
||||
applyPendingClipList();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue