Fix button system visual issue

This commit is contained in:
David Zhao 2019-04-05 18:21:54 +09:00
parent 35c4ee7452
commit 0208526837
1 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,8 @@ public Button(string text, string sampleName, IconUsage symbol, Color4 colour, A
{
box = new Container
{
// box needs to be always present to ensure the button is always sized correctly for flow
AlwaysPresent = true,
Masking = true,
MaskingSmoothness = 2,
EdgeEffect = new EdgeEffectParameters