aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-06-07 23:47:02 -0700
committerLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-06-07 23:47:02 -0700
commit9bc537b1d6601f329555106444eed8d641c313fe (patch)
treec681be5266165aed18319abe34efe13167ec171a /src
parent4bcefa13f3e2d48cd6a7ca77af32ae4f3917fbfb (diff)
parent673be18526a5591b9021993fe4e9421e6373017c (diff)
pull
Diffstat (limited to 'src')
-rw-r--r--src/mobile/MobileInterface.tsx8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mobile/MobileInterface.tsx b/src/mobile/MobileInterface.tsx
index 8a0432d06..c51b5b654 100644
--- a/src/mobile/MobileInterface.tsx
+++ b/src/mobile/MobileInterface.tsx
@@ -1123,7 +1123,6 @@ export class MobileInterface extends React.Component {
pinToPres={emptyFunction}
rootSelected={returnFalse}
removeDocument={undefined}
- onClick={undefined}
ScreenToLocalTransform={Transform.Identity}
ContentScaling={returnOne}
NativeHeight={returnZero}
@@ -1168,7 +1167,6 @@ export class MobileInterface extends React.Component {
bringToFront={emptyFunction}
ContainingCollectionView={undefined}
ContainingCollectionDoc={undefined}
- // mobile={true}
/>
</div>
);
@@ -1176,12 +1174,10 @@ export class MobileInterface extends React.Component {
}
}
- returnWidth = () => 2000;
- returnHeight = () => 2000;
+ returnWidth = () => window.innerWidth;
+ returnHeight = () => (window.innerHeight - 300);
handleClick(doc: Doc) {
- console.log(screen.height)
- console.log(screen.width)
let children = DocListCast(doc.data);
if (doc.type !== "collection") {
this._parents.push(this._activeDoc);