mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 02:58:20 +08:00
Update App.controller.js (#1782)
No display camera window in demo Z2UI5_CL_DEMO_APP_306. so modify App.controller.js of line 903/914 Co-authored-by: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
This commit is contained in:
parent
d2b105f1e8
commit
8357466c22
|
@ -900,7 +900,7 @@ sap.ui.define("z2ui5/CameraPicture", [
|
||||||
verticalScrolling: false,
|
verticalScrolling: false,
|
||||||
stretch: true,
|
stretch: true,
|
||||||
content: [
|
content: [
|
||||||
new HTML({
|
new sap.ui.core.HTML({
|
||||||
id: this.getId() + 'PictureContainer',
|
id: this.getId() + 'PictureContainer',
|
||||||
content: '<video width="600px" height="400px" autoplay="true" id="zvideo">'
|
content: '<video width="600px" height="400px" autoplay="true" id="zvideo">'
|
||||||
}),
|
}),
|
||||||
|
@ -911,7 +911,7 @@ sap.ui.define("z2ui5/CameraPicture", [
|
||||||
this._oScanDialog.close();
|
this._oScanDialog.close();
|
||||||
}.bind(this)
|
}.bind(this)
|
||||||
}),
|
}),
|
||||||
new HTML({
|
new sap.ui.core.HTML({
|
||||||
content: '<canvas hidden id="zcanvas" style="overflow:auto"></canvas>'
|
content: '<canvas hidden id="zcanvas" style="overflow:auto"></canvas>'
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
@ -1059,4 +1059,4 @@ sap.ui.define("z2ui5/Dirty", ["sap/ui/core/Control", "sap/ushell/Container"], (C
|
||||||
renderer(oRm, oControl) { }
|
renderer(oRm, oControl) { }
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user