aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 6b75ce07d..f3fa7de30 100644
--- a/src/mobile/MobileInterface.tsx
+++ b/src/mobile/MobileInterface.tsx
@@ -1250,7 +1250,6 @@ export class MobileInterface extends React.Component {
pinToPres={emptyFunction}
rootSelected={returnFalse}
removeDocument={undefined}
- onClick={undefined}
ScreenToLocalTransform={Transform.Identity}
ContentScaling={returnOne}
NativeHeight={returnZero}
@@ -1295,7 +1294,6 @@ export class MobileInterface extends React.Component {
bringToFront={emptyFunction}
ContainingCollectionView={undefined}
ContainingCollectionDoc={undefined}
- // mobile={true}
/>
</div>
);
@@ -1303,12 +1301,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);