Fixing problems about code check

Signed-off-by: changleipeng <changleipeng4@huawei.com >
Change-Id: Iad28a34eb18680a8f4c6533397b945601b87ad89
This commit is contained in:
changleipeng 2024-05-30 10:46:39 +08:00
parent 019c274046
commit e9a1ab770a

View File

@ -231,8 +231,8 @@ void ScanShadowValue(napi_env env, napi_value allShadowValue, uint32_t arrayLeng
for (uint32_t further = 0; further < arrayLength; further++) {
napi_value element;
Drawing::Color colorSrc = OHOS::Rosen::Drawing::Color::COLOR_BLACK;
Drawing::Point offset(0,0);
double runTimeRadius = 0;
Drawing::Point offset(ARGC_ZERO, ARGC_ZERO);
double runTimeRadius = ARGC_ZERO;
if (napi_get_element(env, allShadowValue, further, &element) != napi_ok) {
ROSEN_LOGE("The parameter of as private text-shadow is unvaild");
return;