OpenLayers OpenLayers

Changeset 5909

Show
Ignore:
Timestamp:
01/27/08 09:26:28 (1 year ago)
Author:
elemoine
Message:

This commit fixes this: once a feature's been selected the "pointer" cursor is
always used when going over it. r=crschmidt (closes #1217)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Feature/Vector.js

    r5625 r5909  
    280280 *  - hoverPointUnit: "%", 
    281281 *  - pointerEvents: "visiblePainted" 
     282 *  - cursor: "" 
    282283 * 
    283284 * Other style properties that have no default values: 
     
    307308        hoverPointRadius: 1, 
    308309        hoverPointUnit: "%", 
    309         pointerEvents: "visiblePainted" 
     310        pointerEvents: "visiblePainted", 
     311        cursor: "" 
    310312    }, 
    311313    'select': { 
     
    342344        hoverPointRadius: 1, 
    343345        hoverPointUnit: "%", 
    344         pointerEvents: "visiblePainted" 
     346        pointerEvents: "visiblePainted", 
     347        cursor: "" 
    345348    } 
    346349};     
  • trunk/openlayers/lib/OpenLayers/Renderer/SVG.js

    r5826 r5909  
    242242        } 
    243243         
    244         if (style.cursor) { 
     244        if (style.cursor != null) { 
    245245            node.setAttributeNS(null, "cursor", style.cursor); 
    246246        } 
  • trunk/openlayers/lib/OpenLayers/Renderer/VML.js

    r5774 r5909  
    247247        } 
    248248         
    249         if (style.cursor) { 
     249        if (style.cursor != null) { 
    250250            node.style.cursor = style.cursor; 
    251251        }