From dbc9449d0fded47226e3313a784dacb25a07c253 Mon Sep 17 00:00:00 2001 From: Richard Li Date: Sat, 14 Oct 2023 08:32:25 +0800 Subject: [PATCH] Fixed rebase problems due to changes in PR #4104. --- radio/src/targets/pl18/libopenui_config.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/radio/src/targets/pl18/libopenui_config.h b/radio/src/targets/pl18/libopenui_config.h index 4c0e71b2e0e..90e0d3b6eca 100644 --- a/radio/src/targets/pl18/libopenui_config.h +++ b/radio/src/targets/pl18/libopenui_config.h @@ -32,11 +32,7 @@ constexpr uint32_t ALERT_MESSAGE_LEFT = ALERT_TITLE_LEFT; constexpr coord_t INPUT_EDIT_CURVE_WIDTH = 132; constexpr coord_t INPUT_EDIT_CURVE_HEIGHT = INPUT_EDIT_CURVE_WIDTH; -constexpr coord_t MENUS_LINE_HEIGHT = 30; -constexpr coord_t MENUS_WIDTH = 200; -constexpr coord_t MENUS_MAX_HEIGHT = LCD_H * 0.9; - -constexpr rect_t MENUS_TOOLBAR_RECT = { 100, 51, 30, 209 }; +constexpr coord_t MENUS_MAX_HEIGHT = (MENUS_LINE_HEIGHT * 8) + 8; // Disable rotary encoder, as the PL18 does not have one #define ROTARY_ENCODER_SPEED() 0