File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2415,7 +2415,7 @@ void UiSceneCreator::CreateOmnibox() {
2415
2415
e->SetTransitionedProperties ({});
2416
2416
y_offset += kUrlBarVerticalOffsetDMM ;
2417
2417
}
2418
- e->SetTranslate (0 , y_offset, kOmniboxShadowOffset );
2418
+ e->SetTranslate (0 , y_offset, - kOmniboxShadowOffset );
2419
2419
},
2420
2420
shadow .get ())));
2421
2421
@@ -2623,6 +2623,7 @@ void UiSceneCreator::CreateOmnibox() {
2623
2623
omnibox_background->set_hit_testable (true );
2624
2624
omnibox_background->set_focusable (false );
2625
2625
omnibox_background->set_corner_radius (kOmniboxCornerRadiusDMM );
2626
+ omnibox_background->SetTranslate (0 , 0 , kOmniboxShadowOffset );
2626
2627
VR_BIND_COLOR (model_, omnibox_background.get (),
2627
2628
&ColorScheme::omnibox_background, &Rect ::SetColor);
2628
2629
omnibox_background->AddChild (std::move (omnibox_outer_layout));
You can’t perform that action at this time.
0 commit comments