summaryrefslogtreecommitdiffstats
path: root/screen_ui.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-10-04 10:04:40 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-10-04 10:04:40 +0200
commit360aa975e747340548d9a91f65def5954e693a03 (patch)
treece81f6419c38011df6d96545a783b27a6d60f357 /screen_ui.cpp
parentSnap for 4373608 from ff1f8d207cb973e8220a20da71d62089df92f10d to pi-release (diff)
parentMerge "otautil: Export headers." am: 2cedab7af9 am: b50d7cf9c9 am: d284e36fc6 (diff)
downloadandroid_bootable_recovery-360aa975e747340548d9a91f65def5954e693a03.tar
android_bootable_recovery-360aa975e747340548d9a91f65def5954e693a03.tar.gz
android_bootable_recovery-360aa975e747340548d9a91f65def5954e693a03.tar.bz2
android_bootable_recovery-360aa975e747340548d9a91f65def5954e693a03.tar.lz
android_bootable_recovery-360aa975e747340548d9a91f65def5954e693a03.tar.xz
android_bootable_recovery-360aa975e747340548d9a91f65def5954e693a03.tar.zst
android_bootable_recovery-360aa975e747340548d9a91f65def5954e693a03.zip
Diffstat (limited to 'screen_ui.cpp')
-rw-r--r--screen_ui.cpp2
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);