1
0
Fork 0
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:
hogliux 2016-10-05 18:31:29 +01:00
parent 7686db659f
commit 8263d70adb

View file

@ -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;