From 2d045b415cd513e1b0924e841b50a6fc56456c20 Mon Sep 17 00:00:00 2001
From: Tainan Felipe <tainanfelipe214@gmail.com>
Date: Tue, 18 Sep 2018 11:16:11 -0300
Subject: [PATCH] Put the hand by default in mobile

---
 .../components/whiteboard/whiteboard-toolbar/component.jsx  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-toolbar/component.jsx b/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-toolbar/component.jsx
index c79b6225bf..0c9a8fe518 100755
--- a/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-toolbar/component.jsx
+++ b/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-toolbar/component.jsx
@@ -66,15 +66,15 @@ const runExceptInEdge = fn => (browser().name === 'edge' ? noop : fn);
 class WhiteboardToolbar extends Component {
   constructor() {
     super();
-
+    const isMobile = browser().mobile;
     this.state = {
       // a variable to control which list is currently open
       currentSubmenuOpen: '',
 
       // variables to keep current selected draw settings
       annotationSelected: {
-        icon: 'pen_tool',
-        value: 'pencil',
+        icon: isMobile ? 'hand' : 'pen_tool',
+        value: isMobile ? 'hand' : 'pencil',
       },
       thicknessSelected: { value: 4 },
       colorSelected: { value: '#000000' },
-- 
GitLab