From 2f1710b79cc93709838d3739b6bfe254eeadb758 Mon Sep 17 00:00:00 2001 From: Avafe <65048459+ImAvafe@users.noreply.github.com> Date: Wed, 5 Feb 2025 15:48:30 -0500 Subject: [PATCH 1/2] Add ImageRectOffset prop to Image component --- src/Components/Image.luau | 2 ++ wally.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Components/Image.luau b/src/Components/Image.luau index 55f9c87..90ea655 100644 --- a/src/Components/Image.luau +++ b/src/Components/Image.luau @@ -20,6 +20,7 @@ export type Props = Base.Props & { FallbackImage: Fusion.UsedAs?, ImageColor3: Fusion.UsedAs?, ImageTransparency: Fusion.UsedAs?, + ImageRectOffset: Fusion.UsedAs?, ImageRectSize: Fusion.UsedAs?, ResampleMode: Fusion.UsedAs?, ScaleType: Fusion.UsedAs?, @@ -67,6 +68,7 @@ return function(Scope: Fusion.Scope, Props: Props) Image = ImageInUse, ImageColor3 = Props.ImageColor3, ImageTransparency = Props.ImageTransparency, + ImageRectOffset = Props.ImageRectOffset, ImageRectSize = Props.ImageRectSize, ResampleMode = Props.ResampleMode, ScaleType = Props.ScaleType, diff --git a/wally.toml b/wally.toml index 631db25..9d2c73d 100644 --- a/wally.toml +++ b/wally.toml @@ -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"] From 04e38f09146f5b3b0d3342b85fea969580e4add5 Mon Sep 17 00:00:00 2001 From: Avafe <65048459+ImAvafe@users.noreply.github.com> Date: Wed, 5 Feb 2025 15:48:45 -0500 Subject: [PATCH 2/2] Disable Luau-LSP linting --- .luaurc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .luaurc diff --git a/.luaurc b/.luaurc new file mode 100644 index 0000000..57738a9 --- /dev/null +++ b/.luaurc @@ -0,0 +1,6 @@ +{ + "lint": { + "*": false + }, + "lintErrors": false +}