Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
Removed unused constants
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanLua committed Apr 1, 2023
1 parent 1479910 commit 80f19ae
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Shime.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,11 @@ local TweenService = game:GetService("TweenService")

-- Create a shimmer frame and return it
local function createShimmer(parent: GuiObject): Frame
-- Constants for the shimmer frame
local COLOR = Color3.fromRGB(255, 255, 255)
local TRANSPARNCY = 0

-- Create a new frame to hold the shimmer
local frame = Instance.new("Frame")
frame.Name = "ShimmerFrame"
frame.BackgroundColor3 = COLOR
frame.BackgroundTransparency = TRANSPARNCY
frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
frame.BackgroundTransparency = 0
frame.ClipsDescendants = true
frame.Size = UDim2.new(1, 0, 1, 0)
frame.AnchorPoint = Vector2.new(0.5, 0.5)
Expand Down

0 comments on commit 80f19ae

Please sign in to comment.