Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: chrome/browser/android/vr_shell/ui_scene_manager.cc

Issue 2828873005: Fix content quad size and translation (Closed)
Patch Set: Fix content quad size and translation Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/ui_scene_manager.cc
diff --git a/chrome/browser/android/vr_shell/ui_scene_manager.cc b/chrome/browser/android/vr_shell/ui_scene_manager.cc
index 8030e673ae49eb79412fddfd5a6da2f852946169..464c86aa22eb58a6c4eb02213d74dcba2708712c 100644
--- a/chrome/browser/android/vr_shell/ui_scene_manager.cc
+++ b/chrome/browser/android/vr_shell/ui_scene_manager.cc
@@ -68,8 +68,8 @@ UiSceneManager::UiSceneManager(UiScene* scene)
element->id = id++;
element->name = "Content";
element->fill = vr_shell::Fill::CONTENT;
- element->size = {(1.6f * (16 / 9)), 1.6f, 1};
- element->translation = {0, 0, -2};
+ element->size = {2.4f, 1.6f, 1};
+ element->translation = {0, -0.1f, -2.5f};
element->visible = false;
main_content_ = element.get();
scene_->AddUiElement(std::move(element));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698