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:
parent
d44012044b
commit
4efeff5a06
3 changed files with 5 additions and 3 deletions
|
@ -387,7 +387,7 @@ namespace Nibriboard.Client
|
|||
return;
|
||||
}
|
||||
DrawnLine line = manager.LineIncubator.CompleteLine(message.LineId);
|
||||
line.LineWidth = message.LineWidth;
|
||||
line.Width = message.LineWidth;
|
||||
line.Colour = message.LineColour;
|
||||
|
||||
if(CurrentPlane == null)
|
||||
|
@ -399,6 +399,8 @@ namespace Nibriboard.Client
|
|||
});
|
||||
return;
|
||||
}
|
||||
|
||||
Log.WriteLine("[NibriClient#{0}] Adding {1}px {2} line", Id, line.Width, line.Colour);
|
||||
await CurrentPlane.AddLine(line);
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace Nibriboard.RippleSpace
|
|||
/// <summary>
|
||||
/// The width of the line.
|
||||
/// </summary>
|
||||
public int LineWidth;
|
||||
public int Width;
|
||||
/// <summary>
|
||||
/// The colour of the line.
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in a new issue