Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fix fullscreen video control panel z-order issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MortimerGoro committed Sep 4, 2019
1 parent 810e5dd commit b0484e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ protected void initializeWidgetPlacement(WidgetPlacement aPlacement) {
aPlacement.anchorX = 0.0f;
aPlacement.anchorY = 0.0f;
aPlacement.translationY = WidgetPlacement.dpDimension(getContext(), R.dimen.video_projection_menu_translation_y);
aPlacement.translationZ = 2.0f;
aPlacement.translationZ = 30.0f;
}

public void setParentWidget(UIWidget aParent) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ protected void initializeWidgetPlacement(WidgetPlacement aPlacement) {
aPlacement.anchorX = 0.0f;
aPlacement.anchorY = 0.0f;
aPlacement.translationY = WidgetPlacement.dpDimension(getContext(), R.dimen.video_projection_menu_translation_y);
aPlacement.translationZ = 2.0f;
aPlacement.translationZ = 30.0f;
}

public void setParentWidget(UIWidget aParent) {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/dimen.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@

<!-- Video Projection Menu -->
<dimen name="video_projection_menu_width">330dp</dimen>
<dimen name="video_projection_menu_translation_y">7dp</dimen>
<dimen name="video_projection_menu_translation_y">15dp</dimen>

<!-- Brightness Menu -->
<dimen name="brightness_menu_width">150dp</dimen>
Expand Down

0 comments on commit b0484e4

Please sign in to comment.