mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Continue drawing if a negative dashLen was hit
This commit is contained in:
parent
7686db659f
commit
8263d70adb
1 changed files with 2 additions and 2 deletions
|
|
@ -680,9 +680,9 @@ void PathStrokeType::createDashedStroke (Path& destPath,
|
|||
const bool isSolid = ((dashNum & 1) == 0);
|
||||
const float dashLen = dashLengths [dashNum++ % numDashLengths];
|
||||
|
||||
jassert (dashLen > 0); // must be a positive increment!
|
||||
jassert (dashLen >= 0); // must be a positive increment!
|
||||
if (dashLen <= 0)
|
||||
break;
|
||||
continue;
|
||||
|
||||
pos += dashLen;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue