Changeset 12663

Show
Ignore:
Timestamp:
02/23/08 16:58:15 (11 months ago)
Author:
elazutkin
Message:

gfx: two cleanup statements added.
The fix is based on the patch submitted without CLA ---
but used nevertheless due to triviality of changes.
Thx, Tobias and Alex Russell for fixing my mistakes.
Fixes #5785 !strict

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dojox/trunk/gfx/vml.js

    r12655 r12663  
    4545                                        s = []; 
    4646                                        f = dojox.gfx.makeParameters(dojox.gfx.defaultLinearGradient, fill); 
    47                                         a = f.colors;  
     47                                        a = f.colors; 
    4848                                        this.fillStyle = f; 
    4949                                        dojo.forEach(a, function(v, i, a){ 
     
    138138                // color object 
    139139                this.fillStyle = dojox.gfx.normalizeColor(fill); 
     140                this.rawNode.fill.method = "any"; 
     141                this.rawNode.fill.type = "solid"; 
    140142                this.rawNode.fillcolor = this.fillStyle.toHex(); 
    141143                this.rawNode.fill.opacity = this.fillStyle.a;