Skip to content

Commit

Permalink
Keyframe hover effect
Browse files Browse the repository at this point in the history
  • Loading branch information
ninaanre committed Jul 18, 2022
1 parent 7dacb7c commit 86ca3f8
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
constants
defaultColor

^ Color orange.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
events
handleMouseEnter: anEvent

self color: self mouseOverColor.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
events
handleMouseLeave: anEvent

self color: self defaultColor.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ initialization
initialize

super initialize.
self color: Color orange.
self color: self defaultColor.
self extent: 15@15.
"self addFlexShell.
self owner transform setAngle: 0.8."
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
constants
mouseOverColor

^ Color red.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@
"instance" : {
"animationsEditor" : "SG 6/17/2022 15:43",
"animationsEditor:" : "SG 6/17/2022 15:43",
"defaultColor" : "NR 7/18/2022 10:49",
"frame" : "mjs 7/31/2021 15:46",
"frame:" : "mjs 7/31/2021 15:46",
"handleMouseEnter:" : "NR 7/18/2022 10:51",
"handleMouseLeave:" : "NR 7/18/2022 10:51",
"handlesMouseDown:" : "SG 6/17/2022 14:57",
"initialize" : "mjs 7/31/2021 15:45",
"initialize" : "NR 7/18/2022 10:50",
"mouseDown:" : "SG 6/25/2022 16:11",
"mouseOverColor" : "NR 7/18/2022 10:49",
"selectProperty" : "SG 6/27/2022 19:17",
"setCenteredPosition:" : "FH 8/1/2021 19:04",
"setValueAndFrame" : "SG 6/25/2022 16:10",
Expand Down

0 comments on commit 86ca3f8

Please sign in to comment.