From b00047fc3e1c17ecb718b59fa34650710a51f2c9 Mon Sep 17 00:00:00 2001 From: Nightcycle <77173389+nightcycle@users.noreply.github.com> Date: Mon, 22 Jan 2024 08:49:49 -0500 Subject: [PATCH] Added new helper textlabel helper method --- src/Util.luau | 53 +++++++++++++++++++++++++++++++++++++++++++++ synthetic.rbxl.lock | 5 ----- 2 files changed, 53 insertions(+), 5 deletions(-) delete mode 100644 synthetic.rbxl.lock diff --git a/src/Util.luau b/src/Util.luau index 920ea4bd..19d2d9ed 100644 --- a/src/Util.luau +++ b/src/Util.luau @@ -233,6 +233,59 @@ end Util.TextLabel = {} Util.TextLabel.ColdFusion = {} + +function Util.TextLabel.ColdFusion.fromStyleSimple( + text: CanBeState, + colorRoleType: CanBeState, + fontType: CanBeState, + style: CanBeState