md-button-fx-sample icon indicating copy to clipboard operation
md-button-fx-sample copied to clipboard

Improved ripple effect

Open RobertoGraham opened this issue 10 years ago • 1 comments

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

RobertoGraham avatar Oct 04 '15 00:10 RobertoGraham

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

nonameplum avatar Oct 09 '15 07:10 nonameplum