From 66550f2c50094a42d8df58ea85c57612ae715ca1 Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Sat, 2 Apr 2022 19:23:27 +0200 Subject: [PATCH] Updated Design (markdown) --- Design.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Design.md b/Design.md index ac6da15..732b3b5 100644 --- a/Design.md +++ b/Design.md @@ -4,7 +4,7 @@ First of all, you have to check out animations, because animations are very impo Let us begin with simple things: -# Recolor button +# Recolor objects Let us create the Button:
````lua @@ -34,6 +34,7 @@ aButton:onClickUp(buttonLogic) -- button logic on click up aButton:onLoseFocus(function(self) self:setBackground(colors.gray) end) -- if user is clicking on the button and dragging out of button size this event will change the bg color back to gray ```` +# fade in/out objects instead of recoloring we are also able to slowly reposition the button, something like fade in:
````lua local buttonAnimation = mainFrame:addAnimation("buttonFadeAnim")