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

[client] Fix initial line colour bug

This commit is contained in:
Starbeamrainbowlabs 2017-11-14 15:16:22 +00:00
parent b35445fda9
commit 4f7fe20df8

View file

@ -66,7 +66,7 @@ class Pencil
setupInterfaceBindings(inInterface)
{
// Snag the initial colour from the interface
this.currentColour = inInterface.currentColour;
this.currentColour = inInterface.brushIndicator.colour;
// Listen for future colour updates
inInterface.on("colourchange", (function(event) {
this.currentColour = event.newColour;