mirror of
https://github.com/sbrl/Nibriboard.git
synced 2018-01-10 21:33:49 +00:00
[client] Land on a default plane when first connecting
This commit is contained in:
parent
ffd2b32abb
commit
27390a33b8
1 changed files with 7 additions and 0 deletions
|
@ -261,6 +261,13 @@ class BoardWindow extends EventEmitter
|
||||||
|
|
||||||
// The pencil that draws the lines
|
// The pencil that draws the lines
|
||||||
this.pencil = new Pencil(this.rippleLink, this, this.canvas);
|
this.pencil = new Pencil(this.rippleLink, this, this.canvas);
|
||||||
|
|
||||||
|
// Land on a default plane
|
||||||
|
// future ask the user which plane they want to join
|
||||||
|
this.rippleLink.send({
|
||||||
|
"Event": "PlaneChange",
|
||||||
|
"NewPlaneName": "default-plane"
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue