mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-23 15:11:51 +00:00
Fixing problems about code check
Signed-off-by: changleipeng <changleipeng4@huawei.com > Change-Id: Iad28a34eb18680a8f4c6533397b945601b87ad89
This commit is contained in:
parent
019c274046
commit
e9a1ab770a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user