From 6ccfd0101afbcb3cc8e60ab9b15871665643edab Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Mon, 3 Aug 2020 07:03:54 +0200 Subject: [PATCH] style cache: add missing LV_STYLE_FONT_TEXT to cachable proeprties --- src/lv_core/lv_obj.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lv_core/lv_obj.c b/src/lv_core/lv_obj.c index d3de68f0a..b4e964e44 100644 --- a/src/lv_core/lv_obj.c +++ b/src/lv_core/lv_obj.c @@ -4444,6 +4444,7 @@ static bool style_prop_is_cacheble(lv_style_property_t prop) case LV_STYLE_CLIP_CORNER: case LV_STYLE_TEXT_LETTER_SPACE: case LV_STYLE_TEXT_LINE_SPACE: + case LV_STYLE_TEXT_FONT: case LV_STYLE_TRANSFORM_ANGLE: case LV_STYLE_TRANSFORM_WIDTH: case LV_STYLE_TRANSFORM_HEIGHT: