anchor.diff:      _colorSlider.unselectAll();
     }
     
  +  int getXOffset(MouseEvent e) {
  +    return e.offset.x + _colorSlider.iconCenter * 2;
  +  }
  +  
     void _mouseDoubleClick(MouseEvent e) {
       _unselectAll();
       
       if (!e.altKey) {
         // Add marker at cursor position
  -      ColorData selectedStop = _addMarker(e.client.x, _colorSlider.iconCenter);
  +      ColorData selectedStop = _addMarker(getXOffset(e));
         _colorSlider.highlightAsSelected(selectedStop);
       }
       else {
  
positive.code:       _down = true;
        _draggingEndStop = selectedStop.isEndStop;
        
        target.mouseDown(e.client);
        
        // Also send an external event for "down".
        _markerClicked(selectedStop);
  
negative.code:         target.mouseMove(e.client);
          
          // Update selected color stop as well.
          _colorSlider.setMarkerLocation(e.offset.x);
          
          _colorSlider.updateCSSGradientWithStops();
        }
  