Signed-off-by: luoying_ace_admin <luoying19@huawei.com>
Change-Id: Ia5b407afb990fb02da13e679859c017715015a16
This commit is contained in:
luoying_ace_admin 2024-11-12 03:53:18 +00:00
parent 4882d0939f
commit 5287406a14

View File

@ -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)