Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/16/09 20:51:48 (15 years ago)
Author:
mstoeger
Message:

Fixed Zoom & Pan. Improved Mouse-Wheel-Zoom. (#424)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization/RectangleShape.cs

    r1240 r1351  
    77
    88    private Color color;
    9     private int opacity = 255;
    109
    1110    private Pen pen;
     
    5453    private Brush GetBrush() {
    5554      if (brush == null)
    56         brush = new SolidBrush(Color.FromArgb(opacity, color));
     55        brush = new SolidBrush(color);
    5756      return brush;
    58     }
    59 
    60     public int Opacity {
    61       get { return opacity; }
    62       set {
    63         opacity = value;
    64         DisposeDrawingTools();
    65       }
    6657    }
    6758
Note: See TracChangeset for help on using the changeset viewer.