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")