From 4f7fe20df885d01c64c8b7c4b90e93d15f445610 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 14 Nov 2017 15:16:22 +0000 Subject: [PATCH] [client] Fix initial line colour bug --- Nibriboard/ClientFiles/Pencil.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nibriboard/ClientFiles/Pencil.js b/Nibriboard/ClientFiles/Pencil.js index eca8aa0..52561ad 100644 --- a/Nibriboard/ClientFiles/Pencil.js +++ b/Nibriboard/ClientFiles/Pencil.js @@ -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;