Fix web entities for android

This commit is contained in:
Gabriel Calero 2018-06-26 12:30:03 -03:00
parent 7e640abb39
commit 48cdd6d64c
2 changed files with 38 additions and 2 deletions

View file

@ -0,0 +1,36 @@
//
// WebEntityView.qml
//
// Created by Gabriel Calero & Cristian Duarte on Jun 25, 2018
// Copyright 2016 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
import QtQuick 2.5
Item {
property string url
Text {
id: webContentText
anchors.horizontalCenter : parent.horizontalCenter
text: "Web content\nClick to view"
font.family: "Helvetica"
font.pointSize: 24
color: "#0098CA"
}
Text {
id: urlText
text: url
anchors.horizontalCenter : parent.horizontalCenter
anchors.top : webContentText.bottom
font.family: "Helvetica"
font.pointSize: 18
color: "#0098CA"
}
}

View file

@ -1,6 +1,6 @@
"use strict";
//
// clickOverlays.js
// clickWeb.js
// scripts/system/+android
//
// Created by Gabriel Calero & Cristian Duarte on Jun 22, 2018
@ -18,7 +18,7 @@ var touchEntityID;
function printd(str) {
if (logEnabled)
print("[clickOverlays.js] " + str);
print("[clickWeb.js] " + str);
}