mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 14:03:17 +02:00
display HTML in tablet instead of overlay web window
This commit is contained in:
parent
18db5f1724
commit
3149f02de6
1 changed files with 1 additions and 8 deletions
|
@ -20,6 +20,7 @@
|
|||
text: "PHOTOBOOTH"
|
||||
});
|
||||
function onClicked() {
|
||||
tablet.gotoWebScreen(PHOTOBOOTH_WINDOW_HTML_URL);
|
||||
PhotoBooth.init();
|
||||
}
|
||||
button.clicked.connect(onClicked);
|
||||
|
@ -169,14 +170,6 @@
|
|||
print("clicked reload model button " + event.value);
|
||||
PhotoBooth.changeModel(event.value);
|
||||
};
|
||||
|
||||
var photoboothWindow = new OverlayWebWindow({
|
||||
title: 'Photo Booth',
|
||||
source: PHOTOBOOTH_WINDOW_HTML_URL,
|
||||
width: 450,
|
||||
height: 450,
|
||||
visible: true
|
||||
});
|
||||
|
||||
photoboothWindow.webEventReceived.connect(function (data) {
|
||||
var event = JSON.parse(data);
|
||||
|
|
Loading…
Reference in a new issue