-
-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💥 Huge Update Part 2/3 [effects, resources]
[Effects Module] - Animations Package :recycle: AnimationFactory: remade animations using the later-introduced Animations class :recycle: AnimationFactory: do not reset anymore Node translate properties before animating, it's better/more flexible leaving it to the user :recycle: AnimationFactory: slide transitions have been reviewed/fixed the translation is not calculated by using the node's bounds anymore. Rather, the distance between the Node and the choosen side of its parent is computed, so that the Node will alway go outside. Additionally, a global variable allows to set an extra offset that is added to this distance :sparkles: Animations: added methods to perform a given action when a certain animation's status changes. It can be very useful to do something when an animation is stopped (make sure to read docs on the why, and the difference between finished/stopped) :sparkles: Animations: added addConditional(...) method to AbstractBuilder too [Resources Module] - Builders Package :recycle: IconBuilder: added some new methods :recycle: IconWrapperBuilder: added new methods to reflect changes in MFXIconWrapper - Fonts Package :truck: Moved generate random icon methods from IconProviders to enumeration classes :sparkles: MFXFontIcon: added constructors with IconDescriptor args :sparkles: MFXFontIcon: implement cloneable interface. Now calling clone() on an icon will produce a new MFXFontIcon object with the same properties (size, colors, icon...) :boom: MFXIconWrapper: introduced animations functionality. Now icons can be switched through an animation that is either predefined (see AnimationPresets) or custom. Make sure to read the docs to understand how they work! :recycle: MFXIconWrapper: do not use listeners on the icon and size properties, rather override the set/invalidated methods inline for a little boost in performance :recycle: MFXIconWrapper: children are not maintained in the desired order in the wrapper's list, rather it now uses the viewOrder property to achieve the same, this too should give a little performance boost :bug: MFXIconWrapper: set the ripple generator to not be managed automatically and make sure to position and resize it in the layoutChildren method. This caused the ripple to not show in some cases Signed-off-by: palexdev <alessandro.parisi406@gmail.com>
- Loading branch information
palexdev
authored and
palexdev
committed
Sep 24, 2023
1 parent
37458e0
commit 5dd024c
Showing
14 changed files
with
1,087 additions
and
203 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.