md-button-fx-sample
md-button-fx-sample copied to clipboard
Improved ripple effect
I have changed the ripple effect so that it is more in line with how it is presented by Google. The circle now expands to fill the button when the button has been clicked or pressed. I added a listener for a mouse release to detect when to kill the ripple.
http://i.imgur.com/KLKfbKX.gifv
I will leave this pull request as an example. But my goal of this simple project was to show that how ripple effect could be achieved in JavaFX, without going too much into details. Thanks for contribution. As a good implementation of Material Design for JavaFX i have to mention https://github.com/jfoenixadmin/JFoenix