Skip to content

Commit

Permalink
Merge pull request #934 from gucio321/invisible-button-default-size-fix
Browse files Browse the repository at this point in the history
fix(InvisibleButton): Set default size to -1, -1
  • Loading branch information
gucio321 authored Jan 12, 2025
2 parents 0f4b762 + be7f4d7 commit 8fffff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ClickableWidgets.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ type InvisibleButtonWidget struct {
func InvisibleButton() *InvisibleButtonWidget {
return &InvisibleButtonWidget{
id: GenAutoID("InvisibleButton"),
width: 0,
height: 0,
width: Auto,
height: Auto,
onClick: nil,
}
}
Expand Down

0 comments on commit 8fffff2

Please sign in to comment.