mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 06:24:41 +02:00
Fix too wide web view
This commit is contained in:
parent
91176f4659
commit
9a92b5635d
3 changed files with 3 additions and 4 deletions
|
@ -21,6 +21,7 @@ Item {
|
|||
signal newViewRequestedCallback(var request)
|
||||
signal loadingChangedCallback(var loadRequest)
|
||||
|
||||
width: parent.width
|
||||
|
||||
property bool interactive: false
|
||||
|
||||
|
@ -53,7 +54,8 @@ Item {
|
|||
WebEngineView {
|
||||
id: webViewCore
|
||||
|
||||
anchors.fill: parent
|
||||
width: parent.width
|
||||
height: parent.height
|
||||
|
||||
profile: HFWebEngineProfile;
|
||||
settings.pluginsEnabled: true
|
||||
|
|
|
@ -231,8 +231,6 @@ int main(int argc, const char* argv[]) {
|
|||
// Extend argv to enable WebGL rendering
|
||||
std::vector<const char*> argvExtended(&argv[0], &argv[argc]);
|
||||
argvExtended.push_back("--ignore-gpu-blacklist");
|
||||
argvExtended.push_back("--enable-embedded-switches");
|
||||
argvExtended.push_back("--disable-overlay-scrollbar");
|
||||
int argcExtended = (int)argvExtended.size();
|
||||
|
||||
Application app(argcExtended, const_cast<char**>(argvExtended.data()), startupTime, runningMarkerExisted);
|
||||
|
|
|
@ -1952,7 +1952,6 @@ var PropertiesTool = function (opts) {
|
|||
data.properties.keyLight.direction.y * DEGREES_TO_RADIANS
|
||||
);
|
||||
}
|
||||
print("data properties " + data.properties)
|
||||
Entities.editEntity(selectionManager.selections[0], data.properties);
|
||||
if (data.properties.name !== undefined || data.properties.modelURL !== undefined ||
|
||||
data.properties.visible !== undefined || data.properties.locked !== undefined) {
|
||||
|
|
Loading…
Reference in a new issue