diff options
author | Tom Marshall <tdm@cyngn.com> | 2014-11-24 16:38:37 -0800 |
---|---|---|
committer | Tom Marshall <tdm@cyngn.com> | 2015-11-25 15:35:22 -0800 |
commit | 8c0781743356e84e3b3e248d99ba09c44456bd9c (patch) | |
tree | 650255a502c6ac7242bf81499bafe9ce82ab98ea | |
parent | f868d833885bd6118b13eae5a7347f9dd9aeda75 (diff) | |
download | bootable_recovery-8c0781743356e84e3b3e248d99ba09c44456bd9c.zip bootable_recovery-8c0781743356e84e3b3e248d99ba09c44456bd9c.tar.gz bootable_recovery-8c0781743356e84e3b3e248d99ba09c44456bd9c.tar.bz2 |
sr: Dejank the menus, fix colors
* Remove extraneous menu update causing jank
* Use official colors
Change-Id: I5ca3faf54a51853fde8270edeee0fba778906659
-rw-r--r-- | screen_ui.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp index 2bb7112..f5c4916 100644 --- a/screen_ui.cpp +++ b/screen_ui.cpp @@ -194,13 +194,13 @@ void ScreenRecoveryUI::SetColor(UIElement e) { break; case MENU: case MENU_SEL_BG: - gr_color(0, 106, 157, 255); + gr_color(106, 103, 102, 255); break; case MENU_SEL_BG_ACTIVE: - gr_color(0, 156, 100, 255); + gr_color(138, 135, 134, 255); break; case MENU_SEL_FG: - gr_color(255, 255, 255, 255); + gr_color(0, 177, 229, 255); break; case LOG: gr_color(196, 196, 196, 255); @@ -872,7 +872,6 @@ void ScreenRecoveryUI::EndMenu() { pthread_mutex_lock(&updateMutex); if (show_menu && text_rows_ > 0 && text_cols_ > 0) { show_menu = false; - update_screen_locked(); } pthread_mutex_unlock(&updateMutex); } |