From 3430daf582550a7d42e406c3f2ff20183b5ffbad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=AF=E6=AD=8C?= Date: Mon, 21 Feb 2022 13:52:20 +0800 Subject: [PATCH] fix drawable's reference usage --- src/gui/core/assets.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/core/assets.cc b/src/gui/core/assets.cc index ea89c664..c2d759ef 100755 --- a/src/gui/core/assets.cc +++ b/src/gui/core/assets.cc @@ -292,7 +292,7 @@ Drawable* Assets::getDrawable(const std::string&fullresid){ return new ColorDrawable(Color::parseColor(resname)); } - if(TextUtils::startWith(resname,"attr"))//for reference resource + if(TextUtils::startWith(resname,"attr")){//for reference resource resname = mTheme.getString(resname.substr(5)); d=getDrawable(resname); LOG(DEBUG)<