Skip to content

Commit

Permalink
Merge pull request #26 from ImAvafe/dev
Browse files Browse the repository at this point in the history
Add ImageRectOffset prop to Image component
  • Loading branch information
ImAvafe authored Feb 5, 2025
2 parents 245456c + 04e38f0 commit 87c77ac
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .luaurc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"lint": {
"*": false
},
"lintErrors": false
}
2 changes: 2 additions & 0 deletions src/Components/Image.luau
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export type Props = Base.Props & {
FallbackImage: Fusion.UsedAs<string>?,
ImageColor3: Fusion.UsedAs<Color3>?,
ImageTransparency: Fusion.UsedAs<number>?,
ImageRectOffset: Fusion.UsedAs<Vector2>?,
ImageRectSize: Fusion.UsedAs<Vector2>?,
ResampleMode: Fusion.UsedAs<Enum.ResamplerMode>?,
ScaleType: Fusion.UsedAs<Enum.ScaleType>?,
Expand Down Expand Up @@ -67,6 +68,7 @@ return function(Scope: Fusion.Scope<any>, Props: Props)
Image = ImageInUse,
ImageColor3 = Props.ImageColor3,
ImageTransparency = Props.ImageTransparency,
ImageRectOffset = Props.ImageRectOffset,
ImageRectSize = Props.ImageRectSize,
ResampleMode = Props.ResampleMode,
ScaleType = Props.ScaleType,
Expand Down
2 changes: 1 addition & 1 deletion wally.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "imavafe/onyx-ui"
description = "Quick, quality UI for Fusion"
version = "0.5.3"
version = "0.5.4"
license = "MIT"
authors = ["Avafe"]

Expand Down

0 comments on commit 87c77ac

Please sign in to comment.