1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-06-06 18:30:52 +00:00

pendingStart < pause.pos1 always true in Segment.java

This commit is contained in:
soloturn 2022-01-27 06:42:55 +01:00
parent 457197c49f
commit 703b83a5ac

View File

@ -113,8 +113,7 @@ public class Segment {
return Collections.unmodifiableCollection(result2);
}
if (this.contains(pause)) {
if (pendingStart < pause.pos1)
result2.add(new Segment(pendingStart, pause.pos1));
result2.add(new Segment(pendingStart, pause.pos1));
pendingStart = pause.pos2;
}
}