From bcd9abc92a220e5e07bae3e0a17c7fce5ea196a2 Mon Sep 17 00:00:00 2001 From: boatbomber Date: Tue, 24 Dec 2024 01:29:47 -0800 Subject: [PATCH] Less harsh backgrounds --- plugin/src/App/Components/StringDiffVisualizer/init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/src/App/Components/StringDiffVisualizer/init.lua b/plugin/src/App/Components/StringDiffVisualizer/init.lua index 446d6d25a..a7e76c1ee 100644 --- a/plugin/src/App/Components/StringDiffVisualizer/init.lua +++ b/plugin/src/App/Components/StringDiffVisualizer/init.lua @@ -410,7 +410,7 @@ function StringDiffVisualizer:render() Size = UDim2.new(0, math.max(charWidth * (stop - start), charWidth * 0.4), 1, 0), Position = UDim2.fromOffset(charWidth * start, 0), BackgroundColor3 = theme.Diff.Remove, - BackgroundTransparency = 0.75, + BackgroundTransparency = 0.85, BorderSizePixel = 0, ZIndex = -1, }) @@ -443,7 +443,7 @@ function StringDiffVisualizer:render() Text = currentRichTextLines[i], RichText = true, BackgroundColor3 = theme.Diff.Remove, - BackgroundTransparency = if lineDiffs then 0.85 else 1, + BackgroundTransparency = if lineDiffs then 0.95 else 1, BorderSizePixel = 0, FontFace = theme.Font.Code, TextSize = theme.TextSize.Code, @@ -494,7 +494,7 @@ function StringDiffVisualizer:render() Size = UDim2.new(0, math.max(charWidth * (stop - start), charWidth * 0.4), 1, 0), Position = UDim2.fromOffset(charWidth * start, 0), BackgroundColor3 = theme.Diff.Add, - BackgroundTransparency = 0.75, + BackgroundTransparency = 0.85, BorderSizePixel = 0, ZIndex = -1, }) @@ -527,7 +527,7 @@ function StringDiffVisualizer:render() Text = incomingRichTextLines[i], RichText = true, BackgroundColor3 = theme.Diff.Add, - BackgroundTransparency = if lineDiffs then 0.85 else 1, + BackgroundTransparency = if lineDiffs then 0.95 else 1, BorderSizePixel = 0, FontFace = theme.Font.Code, TextSize = theme.TextSize.Code,