Facepunch / sbox-issues

176 stars 12 forks source link

Button.SetClass( "active", true ); doesn't work anymore, breaks active tab class in tabcontainers. #6883

Open Xenthio opened 5 days ago

Xenthio commented 5 days ago

Describe the bug

Button.SetClass( "active", true ); doesn't work, this breaks tabcontainers.

To Reproduce

create a button, then set the class active on it. It wont add it.

Expected behavior

the class active should be added to the button

Media/Files

No response

Additional context

No response

Xenthio commented 5 days ago

Image free fix lol TabContainer.cs