Skip to content

Commit

Permalink
Merge pull request #139 from serpens-ignis/master
Browse files Browse the repository at this point in the history
Add defaults to Quad:setViewport
  • Loading branch information
MikuAuahDark authored Oct 12, 2024
2 parents 5cc3e8b + 4f56471 commit 4244742
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions modules/graphics/types/Quad.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,20 @@ return {
{
type = 'number',
name = 'sw',
description = 'The reference width, the width of the Image. (Must be greater than 0.)',
description =
'Optional new reference width, the width of the Texture. Must be greater than 0 if set.',
default = 'nil'
},
{
type = 'number',
name = 'sh',
description = 'The reference height, the height of the Image. (Must be greater than 0.)',
description =
'Optional new reference height, the height of the Texture. Must be greater than 0 if set.',
default = 'nil'
},
},
},
},
},
},
}
}

0 comments on commit 4244742

Please sign in to comment.