Skip to content

Commit

Permalink
fix: Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Quenty committed Aug 14, 2023
1 parent 800364b commit b8719a7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/colorpalette/src/Shared/ColorPalette.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8719a7

Please sign in to comment.