From 709cf66ce86f879f9ee2e17e8bd5fb5db28608a9 Mon Sep 17 00:00:00 2001 From: Erlend Date: Thu, 1 Sep 2022 18:57:39 +0200 Subject: [PATCH] Fix typo in Animations - changeBackground.md --- docs/objects/Animation/changeBackground.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/objects/Animation/changeBackground.md b/docs/objects/Animation/changeBackground.md index 903031e..fa38ea0 100644 --- a/docs/objects/Animation/changeBackground.md +++ b/docs/objects/Animation/changeBackground.md @@ -14,7 +14,7 @@ Changes the background color while the animation is running ```lua local mainFrame = basalt.createFrame() local testButton = mainFrame:addButton("buttonToAnimate") -local aAnimation = mainFrame:addAnimation():setObject(testButton):changeTextColor({colors.red, colors.yellow, colors.green}, 2):play() +local aAnimation = mainFrame:addAnimation():setObject(testButton):changeBackground({colors.red, colors.yellow, colors.green}, 2):play() ``` ```xml @@ -25,4 +25,4 @@ local aAnimation = mainFrame:addAnimation():setObject(testButton):changeTextColo 2 -``` \ No newline at end of file +``` -- 2.49.1