Skip to content

Commit 5505a3a

Browse files
author
atarw
committed
updated readme example
1 parent 8c48cda commit 5505a3a

File tree

2 files changed

+22
-43
lines changed

2 files changed

+22
-43
lines changed

.idea/workspace.xml

Lines changed: 20 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ public class MaterialUIDemo2 {
3434
content.add (button);
3535
frame.add (content, BorderLayout.CENTER);
3636

37-
MaterialUIMovement animate2 = new MaterialUIMovement (new Color (34, 167, 240), 5, 1000 / 30);
38-
animate2.add (button);
37+
// on hover, button will change to a light blue at about 30 FPS with 5 intermediate color changes
38+
MaterialUIMovement.add (button, new Color (34, 167, 240), 5, 1000 / 30);
3939

4040
frame.pack ();
4141
frame.setVisible (true);

0 commit comments

Comments
 (0)