From b8719a7abe0b7a34bc869064a5a1595499801598 Mon Sep 17 00:00:00 2001 From: James Onnen Date: Mon, 14 Aug 2023 13:01:34 -0700 Subject: [PATCH] fix: Remove dead code --- src/colorpalette/src/Shared/ColorPalette.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/colorpalette/src/Shared/ColorPalette.lua b/src/colorpalette/src/Shared/ColorPalette.lua index 48458bb7cf..eaf4199698 100644 --- a/src/colorpalette/src/Shared/ColorPalette.lua +++ b/src/colorpalette/src/Shared/ColorPalette.lua @@ -148,12 +148,6 @@ function ColorPalette:GetColorSwatch(colorName) return swatch end -function ColorPalette:SetColor(colorName, value) - assert(type(colorName) == "string", "Bad colorName") - - self._swatches[colorName]:SetColor(value) -end - function ColorPalette:ObserveGradeOn(colorName, newSurfaceName, baseSurfaceName) return self._gradePalette:ObserveOn(colorName, newSurfaceName, baseSurfaceName) end