From 44d7683349976ba41decaf8755c58fa907d40175 Mon Sep 17 00:00:00 2001 From: Lewin Kelly Date: Sat, 3 Jun 2023 19:52:18 +0100 Subject: [PATCH] Fix typo in corescript and improve darklua config --- dense.json5 | 2 +- lines.json5 | 2 +- yue/45284430.yue | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dense.json5 b/dense.json5 index f8c18b0..13e7ef8 100644 --- a/dense.json5 +++ b/dense.json5 @@ -4,7 +4,7 @@ "remove_comments", "remove_spaces", "group_local_assignment", - "compute_expression", + // "compute_expression", "remove_unused_if_branch", "remove_unused_while", "remove_empty_do", diff --git a/lines.json5 b/lines.json5 index b83986f..6128b94 100644 --- a/lines.json5 +++ b/lines.json5 @@ -2,7 +2,7 @@ rules: [ "remove_spaces", "group_local_assignment", - "compute_expression", + // "compute_expression", "remove_unused_if_branch", "remove_unused_while", "remove_empty_do", diff --git a/yue/45284430.yue b/yue/45284430.yue index d7ff8e7..04bc8f8 100644 --- a/yue/45284430.yue +++ b/yue/45284430.yue @@ -832,8 +832,8 @@ t.CreateTrueScrollingFrame = -> scrollDownButton.Name = "ScrollDownButton" scrollDownButton.Position = UDim2.new 0, 0, 1, -18 downChildren = scrollDownButton\GetChildren! - for i in *downChildren - i.Position = UDim2.new 0, 3 + (i - 1), 0.5, -2 + (i - 1) + for i = 1, #downChildren + downChildren[i].Position = UDim2.new 0, 3 + (i - 1), 0.5, -2 + (i - 1) scrollDownButton.MouseEnter\connect -> scrollDownButton.BackgroundTransparency = 0.1