This commit is contained in:
Lynix 2017-08-13 21:40:44 +02:00
commit 52e5ab8445
2 changed files with 2 additions and 1 deletions

View File

@ -9,5 +9,7 @@ namespace Ndk
inline void ButtonWidget::UpdateText(const Nz::AbstractTextDrawer& drawer) inline void ButtonWidget::UpdateText(const Nz::AbstractTextDrawer& drawer)
{ {
m_textSprite->Update(drawer); m_textSprite->Update(drawer);
Layout();
} }
} }

View File

@ -61,7 +61,6 @@ namespace Ndk
m_gradientSprite->SetColor(Nz::Color(128, 128, 128)); m_gradientSprite->SetColor(Nz::Color(128, 128, 128));
} }
void ButtonWidget::OnMouseExit() void ButtonWidget::OnMouseExit()
{ {
m_gradientSprite->SetColor(Nz::Color(74, 74, 74)); m_gradientSprite->SetColor(Nz::Color(74, 74, 74));