mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 07:01:24 +00:00
bugfix
Signed-off-by: luoying_ace_admin <luoying19@huawei.com> Change-Id: Ia5b407afb990fb02da13e679859c017715015a16
This commit is contained in:
parent
4882d0939f
commit
5287406a14
@ -917,9 +917,8 @@ void CalendarPickerPattern::HandleTextHoverEvent(bool state, int32_t index)
|
||||
if (state) {
|
||||
textFrameNode->GetRenderContext()->UpdateBackgroundColor(theme->GetBackgroundHoverColor());
|
||||
} else {
|
||||
ResetTextStateByNode(DynamicCast<FrameNode>(contentNode->GetChildAtIndex(index)));
|
||||
textFrameNode->GetRenderContext()->UpdateBackgroundColor(Color::TRANSPARENT);
|
||||
}
|
||||
textFrameNode->MarkDirtyNode(PROPERTY_UPDATE_RENDER);
|
||||
}
|
||||
|
||||
void CalendarPickerPattern::HandleButtonHoverEvent(bool state, int32_t index)
|
||||
|
Loading…
Reference in New Issue
Block a user