1
0
Fork 0
mirror of https://github.com/sbrl/Nibriboard.git synced 2018-01-10 21:33:49 +00:00

[server] DrawnLine.LineWidth -> Width, and extra logging

This commit is contained in:
Starbeamrainbowlabs 2017-04-28 18:14:14 +01:00
parent d44012044b
commit 4efeff5a06
3 changed files with 5 additions and 3 deletions

View file

@ -387,7 +387,7 @@ namespace Nibriboard.Client
return; return;
} }
DrawnLine line = manager.LineIncubator.CompleteLine(message.LineId); DrawnLine line = manager.LineIncubator.CompleteLine(message.LineId);
line.LineWidth = message.LineWidth; line.Width = message.LineWidth;
line.Colour = message.LineColour; line.Colour = message.LineColour;
if(CurrentPlane == null) if(CurrentPlane == null)
@ -399,6 +399,8 @@ namespace Nibriboard.Client
}); });
return; return;
} }
Log.WriteLine("[NibriClient#{0}] Adding {1}px {2} line", Id, line.Width, line.Colour);
await CurrentPlane.AddLine(line); await CurrentPlane.AddLine(line);
} }

View file

@ -19,7 +19,7 @@ namespace Nibriboard.RippleSpace
/// <summary> /// <summary>
/// The width of the line. /// The width of the line.
/// </summary> /// </summary>
public int LineWidth; public int Width;
/// <summary> /// <summary>
/// The colour of the line. /// The colour of the line.
/// </summary> /// </summary>