Skip to content

Commit

Permalink
fix: icon not show bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fangsmile committed Dec 21, 2023
1 parent a5ac50e commit b4693bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vtable/src/scenegraph/icon/icon-update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ export function resetResidentHoverIcon(col: number, row: number, scene: Scenegra
(icon: Icon) => icon.attribute.funcType === IconFuncTypeEnum.dropDown,
// dealer
(icon: Icon) => {
icon.setAttribute('visibleTime', (icon as any).oldVisibleTime);
(icon as any).oldVisibleTime && icon.setAttribute('visibleTime', (icon as any).oldVisibleTime);
icon.setAttribute('opacity', icon.attribute.visibleTime === 'always' ? 1 : 0);
},
scene
Expand Down

0 comments on commit b4693bb

Please sign in to comment.