diff --git a/src/color3utils/src/Shared/Color3Utils.lua b/src/color3utils/src/Shared/Color3Utils.lua index d34557b0e7d..55c1407d209 100644 --- a/src/color3utils/src/Shared/Color3Utils.lua +++ b/src/color3utils/src/Shared/Color3Utils.lua @@ -49,7 +49,7 @@ end @return Color3 ]=] function Color3Utils.scaleValue(color3, percent) - local h, s, v = Color3.toHSV(color3) + local h, s, v = color3:ToHsv() return Color3.fromHSV(h, s, percent*v) end @@ -60,7 +60,7 @@ end @return Color3 ]=] function Color3Utils.setValue(color3, value) - local h, s, _ = Color3.toHSV(color3) + local h, s, _ = color3:ToHsv() return Color3.fromHSV(h, s, value) end @@ -71,7 +71,7 @@ end @return Color3 ]=] function Color3Utils.setHue(color3, hue) - local _, s, v = Color3.toHSV(color3) + local _, s, v = color3:ToHsv() return Color3.fromHSV(hue, s, v) end @@ -82,7 +82,7 @@ end @return Color3 ]=] function Color3Utils.scaleSaturation(color3, percent) - local h, s, v = Color3.toHSV(color3) + local h, s, v = color3:ToHsv() return Color3.fromHSV(h, percent*s, v) end @@ -93,7 +93,7 @@ end @return Color3 ]=] function Color3Utils.setSaturation(color3, saturation) - local h, _, v = Color3.toHSV(color3) + local h, _, v = color3:ToHsv() return Color3.fromHSV(h, saturation, v) end diff --git a/src/observablecollection/src/Shared/ObservableMapList.lua b/src/observablecollection/src/Shared/ObservableMapList.lua index 3e7a055d7fa..f800e772648 100644 --- a/src/observablecollection/src/Shared/ObservableMapList.lua +++ b/src/observablecollection/src/Shared/ObservableMapList.lua @@ -198,23 +198,6 @@ function ObservableMapList:ObserveItemsForKeyBrio(key) }) end ---[=[ - Gets a list for a given key. - - @param key TKey - @return { TValue } -]=] -function ObservableMapList:GetListForKey(key) - assert(key ~= nil, "Bad key") - - local observableList = self:GetListForKey(key) - if not observableList then - return {} - end - - return observableList:GetList() -end - --[=[ Gets the observable list for the given key @param key TKey