mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 07:01:24 +00:00
!48317 修复calendarpicker在hover之后深浅色模式切换无法正常刷新
Merge pull request !48317 from luoying_ace/ly1106
This commit is contained in:
commit
b83dbeb9ec
@ -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