mirror of
https://github.com/sbrl/Nibriboard.git
synced 2018-01-10 21:33:49 +00:00
[server] Try to avoid certain scenarios where drawn lines can contain no points
This commit is contained in:
parent
226452cb57
commit
b32e51dddd
1 changed files with 2 additions and 1 deletions
|
@ -103,6 +103,7 @@ namespace Nibriboard.RippleSpace
|
|||
// TODO: Add connecting lines to each DrawnLine instance to prevent gaps
|
||||
nextLine.Colour = Colour;
|
||||
nextLine.Width = Width;
|
||||
if(nextLine.Points.Count > 0)
|
||||
results.Add(nextLine);
|
||||
nextLine = new DrawnLine(LineId);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue