ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/deps/WeifenLuo.WinFormsUI.Docking/WinFormsUI/Docking/VS2005AutoHideStrip.cs
(Generate patch)

Comparing trunk/deps/WeifenLuo.WinFormsUI.Docking/WinFormsUI/Docking/VS2005AutoHideStrip.cs (file contents):
Revision 638 by william, Sat Jun 8 20:21:53 2013 UTC vs.
Revision 640 by william, Sat Jun 8 20:31:20 2013 UTC

# Line 361 | Line 361 | namespace WeifenLuo.WinFormsUI.Docking
361                  Color startColor = DockPanel.Skin.AutoHideStripSkin.TabGradient.StartColor;
362                  Color endColor = DockPanel.Skin.AutoHideStripSkin.TabGradient.EndColor;
363                  LinearGradientMode gradientMode = DockPanel.Skin.AutoHideStripSkin.TabGradient.LinearGradientMode;
364 +
365 +                if (rectTabOrigin.Width == 0)
366 +                {
367 +                    // rectangle width cannot be 0
368 +                    rectTabOrigin.Width = 1;
369 +                }
370 +
371                  g.FillPath(new LinearGradientBrush(rectTabOrigin, startColor, endColor, gradientMode), path);
372                  g.DrawPath(PenTabBorder, path);
373  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines