From 27390a33b81b4fde97eefca102c866cbe0032594 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 23 Apr 2017 17:40:41 +0100 Subject: [PATCH] [client] Land on a default plane when first connecting --- Nibriboard/ClientFiles/BoardWindow.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Nibriboard/ClientFiles/BoardWindow.js b/Nibriboard/ClientFiles/BoardWindow.js index a4378e3..d4fea7c 100644 --- a/Nibriboard/ClientFiles/BoardWindow.js +++ b/Nibriboard/ClientFiles/BoardWindow.js @@ -261,6 +261,13 @@ class BoardWindow extends EventEmitter // The pencil that draws the lines 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" + }); } /**