aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-06-27 21:46:17 -0700
committerLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-06-27 21:46:17 -0700
commitecd3c3b0a713a594d4d0f4295bad017af1ba47ba (patch)
treef4c1f81509eefe42025a1f2d99b353faf8af881a
parenta7c1aaa0600a01d25b6525d4ae17f1a5086847d0 (diff)
some changes
-rw-r--r--src/client/views/GestureOverlay.tsx2
-rw-r--r--src/mobile/MobileInterface.tsx4
-rw-r--r--src/mobile/MobileMenu.scss2
3 files changed, 6 insertions, 2 deletions
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<React.Touch>();
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 (
<div className="mobileInterface-container" onDragOver={this.onDragOver}>
<SettingsManager />
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;
}