fix(draw_outline) do not change the outline_width based on the outline_pad

fixes: #2171
This commit is contained in:
Gabor Kiss-Vamosi
2021-04-12 12:15:31 +02:00
parent 5dc7356f99
commit a6d3eff4db
2 changed files with 5 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ static lv_color_t color_secondary_muted;
#define TRANSITION_TIME LV_THEME_DEFAULT_TRANSITON_TIME
#define BORDER_WIDTH LV_DPX(2)
#define OUTLINE_WIDTH LV_DPX(2)
#define OUTLINE_WIDTH LV_DPX(4)
#define PAD_DEF (disp_size == DISP_LARGE ? LV_DPX(24) : disp_size == DISP_MEDIUM ? LV_DPX(20) : LV_DPX(20))
#define PAD_SMALL (disp_size == DISP_LARGE ? LV_DPX(14) : disp_size == DISP_MEDIUM ? LV_DPX(12) : LV_DPX(12))