mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-19 22:54:50 -04:00
fix bug of Button
Signed-off-by: luoying_ace_admin <luoying19@huawei.com>
This commit is contained in:
@@ -253,6 +253,7 @@ void JSButton::SetDefaultAttributes(const RefPtr<ButtonComponent>& buttonCompone
|
||||
buttonComponent->SetHeight(buttonTheme->GetHeight());
|
||||
buttonComponent->SetBackgroundColor(buttonTheme->GetBgColor());
|
||||
buttonComponent->SetClickedColor(buttonComponent->GetBackgroundColor().BlendColor(buttonTheme->GetClickedColor()));
|
||||
buttonComponent->SetHoverColor(buttonTheme->GetHoverColor());
|
||||
}
|
||||
|
||||
void JSButton::SetTypeAndStateEffect(const JSRef<JSObject>& obj, const RefPtr<ButtonComponent>& buttonComponent)
|
||||
|
||||
Reference in New Issue
Block a user