You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by zo...@apache.org on 2010/06/13 21:14:26 UTC
svn commit: r954286 -
/incubator/aries/trunk/samples/goat/goat-web/src/main/resources/web/goat/elements/RelationshipElement.js
Author: zoe
Date: Sun Jun 13 19:14:26 2010
New Revision: 954286
URL: http://svn.apache.org/viewvc?rev=954286&view=rev
Log:
ARIES-319 Another small step towards extracting colors to a theme
Modified:
incubator/aries/trunk/samples/goat/goat-web/src/main/resources/web/goat/elements/RelationshipElement.js
Modified: incubator/aries/trunk/samples/goat/goat-web/src/main/resources/web/goat/elements/RelationshipElement.js
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples/goat/goat-web/src/main/resources/web/goat/elements/RelationshipElement.js?rev=954286&r1=954285&r2=954286&view=diff
==============================================================================
--- incubator/aries/trunk/samples/goat/goat-web/src/main/resources/web/goat/elements/RelationshipElement.js (original)
+++ incubator/aries/trunk/samples/goat/goat-web/src/main/resources/web/goat/elements/RelationshipElement.js Sun Jun 13 19:14:26 2010
@@ -48,6 +48,7 @@ dojo.declare("goat.elements.Relationship
//internals
stroke: null,
+ pulseColor: "#682DAE",
//am I deleted?
removed: false,
@@ -211,7 +212,8 @@ onComponentClick: function(component){
dojox.gfx.fx.animateStroke({
shape: this.line,
duration: 500,
- color: {start: "#FF3030", end: this.stroke},
+ //color: {start: "#FF3030", end: this.stroke},
+ color: {start: this.pulseColor, end: this.stroke},
width: {start: 3, end: 2},
join: {values: ["miter", "bevel", "round"]}
}).play();