Widgets: Update default theme buttons to work better at low sizes
|
|
@ -186,7 +186,7 @@ namespace Nz
|
|||
{
|
||||
SimpleButtonWidgetStyle::StyleConfig styleConfig;
|
||||
styleConfig.cornerSize = 20.f;
|
||||
styleConfig.cornerTexCoords = 20.f / 128.f;
|
||||
styleConfig.cornerTexCoords = 20.f / 44.f;
|
||||
styleConfig.hoveredMaterial = m_buttonHoveredMaterial;
|
||||
styleConfig.material = m_buttonMaterial;
|
||||
styleConfig.pressedHoveredMaterial = m_buttonPressedHoveredMaterial;
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.1 KiB |