a couple visual tweaks to polemic tweet. popcorn-port
authorhamidouk
Tue, 08 Nov 2011 10:36:20 +0100
branchpopcorn-port
changeset 203 9b76fc6564b1
parent 202 2e0205ee7ca9
child 204 a5e807f33a67
a couple visual tweaks to polemic tweet.
src/js/widgets/polemicWidget.js
--- a/src/js/widgets/polemicWidget.js	Mon Nov 07 17:23:48 2011 +0100
+++ b/src/js/widgets/polemicWidget.js	Tue Nov 08 10:36:20 2011 +0100
@@ -297,16 +297,16 @@
 
 			}		
 			// DRAW UI :: resize border and bgd			
-			this.paperBackground = this.paper.rect(0, this.yMax, this.width, this.heightmax).attr({fill:"#F8F8F8","stroke-width":0.1,opacity: 1});	
+			this.paperBackground = this.paper.rect(0, 0, this.width, this.heightmax).attr({fill:"#F8F8F8","stroke-width":0.1,opacity: 1});	
 			// var PaperBorder 	= this.paper.rect(0, this.yMax,this.width,1).attr({fill:"#fff",stroke: "none",opacity: 1});	
-	
-      this.paperSlider 	= this.paper.rect(0, this.yMax, 0, this.heightmax).attr({fill:"#D4D5D5", stroke: "none", opacity: 1});
+      
+      this.paperSlider 	= this.paper.rect(0, 0, 0, this.heightmax).attr({fill:"#D4D5D5", stroke: "none", opacity: 1});
       
       // the small white line displayed over the slider.
-      this.sliderTip = this.paper.rect(0, this.yMax, 5, this.heightmax).attr({fill:"#FFFFFF", stroke: "none", opacity: 1});
+      this.sliderTip = this.paper.rect(0, 0, 1, this.heightmax).attr({fill:"#fc00ff", stroke: "none", opacity: 1});
       
 			// decalage 
-			tweetSelection = this.paper.rect(-100,-100,5,5).attr({fill:"#fff",stroke: "none",opacity: 1});	
+			// tweetSelection = this.paper.rect(-100,-100,5,5).attr({fill:"#fff",stroke: "none",opacity: 1});	
 			
       
 			this.paperSlider.toBack();