diff options
author | Luke Song <songwalker@google.com> | 2017-10-04 01:25:27 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-10-04 01:25:27 +0200 |
commit | d3f4501676839addb9bb78fd589890028910c025 (patch) | |
tree | 6af7f93428002c8c11b82ecfdc979b075472a112 | |
parent | Merge "roots: Fix an issue with volume_for_path()." am: dd7a4b5264 am: 8b8c7eb442 (diff) | |
parent | Merge "screen_ui: stage marker positioning" am: 16817312a6 (diff) | |
download | android_bootable_recovery-d3f4501676839addb9bb78fd589890028910c025.tar android_bootable_recovery-d3f4501676839addb9bb78fd589890028910c025.tar.gz android_bootable_recovery-d3f4501676839addb9bb78fd589890028910c025.tar.bz2 android_bootable_recovery-d3f4501676839addb9bb78fd589890028910c025.tar.lz android_bootable_recovery-d3f4501676839addb9bb78fd589890028910c025.tar.xz android_bootable_recovery-d3f4501676839addb9bb78fd589890028910c025.tar.zst android_bootable_recovery-d3f4501676839addb9bb78fd589890028910c025.zip |
-rw-r--r-- | screen_ui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp index bc5c5c31f..166d7b4cf 100644 --- a/screen_ui.cpp +++ b/screen_ui.cpp @@ -165,7 +165,7 @@ void ScreenRecoveryUI::draw_background_locked() { int stage_height = gr_get_height(stageMarkerEmpty); int stage_width = gr_get_width(stageMarkerEmpty); int x = (gr_fb_width() - max_stage * gr_get_width(stageMarkerEmpty)) / 2; - int y = gr_fb_height() - stage_height; + int y = gr_fb_height() - stage_height - kMarginHeight; for (int i = 0; i < max_stage; ++i) { GRSurface* stage_surface = (i < stage) ? stageMarkerFill : stageMarkerEmpty; gr_blit(stage_surface, 0, 0, stage_width, stage_height, x, y); |