From ecd3c3b0a713a594d4d0f4295bad017af1ba47ba Mon Sep 17 00:00:00 2001 From: Lionel Han <47760119+IGoByJoe@users.noreply.github.com> Date: Sat, 27 Jun 2020 21:46:17 -0700 Subject: some changes --- src/client/views/GestureOverlay.tsx | 2 +- src/mobile/MobileInterface.tsx | 4 ++++ src/mobile/MobileMenu.scss | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/client/views/GestureOverlay.tsx b/src/client/views/GestureOverlay.tsx index 98777a92c..e82609e7e 100644 --- a/src/client/views/GestureOverlay.tsx +++ b/src/client/views/GestureOverlay.tsx @@ -260,7 +260,7 @@ export default class GestureOverlay extends Touchable { handleHandDown = async (e: React.TouchEvent) => { this._holdTimer && clearTimeout(this._holdTimer); - // this chunk of code helps us keep track of which touch events are associated with a hand event + // this chunk of code helps us keep track of which touch events ar e associated with a hand event // so that if a hand is held down, but a second hand is interacting with dash, the second hand's events // won't interfere with the first hand's events. const fingers = new Array(); diff --git a/src/mobile/MobileInterface.tsx b/src/mobile/MobileInterface.tsx index 0bc950a71..d0848aea2 100644 --- a/src/mobile/MobileInterface.tsx +++ b/src/mobile/MobileInterface.tsx @@ -12,6 +12,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { action, computed, observable, reaction } from 'mobx'; import { observer } from 'mobx-react'; import { trace } from 'mobx'; +import { TraceMobx } from "../fields/util"; import * as rp from 'request-promise'; import { Doc, DocListCast } from '../fields/Doc'; import { CurrentUserUtils } from '../client/util/CurrentUserUtils'; @@ -788,6 +789,7 @@ export class MobileInterface extends React.Component { } onDragOver = (e: React.DragEvent) => { + console.log("drag!"); e.preventDefault(); e.stopPropagation(); } @@ -816,6 +818,8 @@ export class MobileInterface extends React.Component { } render() { + // trace(); + // TraceMobx(); return (
diff --git a/src/mobile/MobileMenu.scss b/src/mobile/MobileMenu.scss index ec8946578..24d72dec6 100644 --- a/src/mobile/MobileMenu.scss +++ b/src/mobile/MobileMenu.scss @@ -248,7 +248,7 @@ body { .sidebar.active { position: absolute; right:0%; - opacity: 1; + opacity: 0.8; z-index: 101; } -- cgit v1.2.3-70-g09d2