From f11f3a51417c2709f68104c4db2e02d739cef763 Mon Sep 17 00:00:00 2001 From: alexeyermolaev Date: Wed, 18 Sep 2024 11:38:57 +0000 Subject: [PATCH] update frameworks/core/components/scroll/scroll_bar_theme.h. Signed-off-by: alexeyermolaev --- frameworks/core/components/scroll/scroll_bar_theme.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frameworks/core/components/scroll/scroll_bar_theme.h b/frameworks/core/components/scroll/scroll_bar_theme.h index 3801ae1daa..74874ed902 100644 --- a/frameworks/core/components/scroll/scroll_bar_theme.h +++ b/frameworks/core/components/scroll/scroll_bar_theme.h @@ -46,6 +46,7 @@ public: return theme; } + protected: void ParsePattern(const RefPtr& themeConstants, const RefPtr& theme) const { RefPtr pattern = themeConstants->GetPatternByName(THEME_PATTERN_SCROLL_BAR); @@ -71,6 +72,8 @@ public: theme->defaultHeight_ = pattern->GetAttr("scroll_bar_default_height", 16.0_vp); } }; + + private: ~ScrollBarTheme() override = default; -- Gitee