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:
parent
b35445fda9
commit
4f7fe20df8
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class Pencil
|
||||||
setupInterfaceBindings(inInterface)
|
setupInterfaceBindings(inInterface)
|
||||||
{
|
{
|
||||||
// Snag the initial colour from the interface
|
// Snag the initial colour from the interface
|
||||||
this.currentColour = inInterface.currentColour;
|
this.currentColour = inInterface.brushIndicator.colour;
|
||||||
// Listen for future colour updates
|
// Listen for future colour updates
|
||||||
inInterface.on("colourchange", (function(event) {
|
inInterface.on("colourchange", (function(event) {
|
||||||
this.currentColour = event.newColour;
|
this.currentColour = event.newColour;
|
||||||
|
|
Loading…
Reference in a new issue