Skip to content

Commit

Permalink
Merge pull request #235 from FriendsOfCADability/Fix_DimensionStyle
Browse files Browse the repository at this point in the history
Fix CS1717, CS0108 in DimensionStyle
  • Loading branch information
dsn27 authored Jan 27, 2025
2 parents d439fe0 + 19969c7 commit 0c10ff8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CADability/DimensionStyle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ public enum EFontFlag { DimFontBold, DimFontItalic, DimFontUnderline, DimFontStr
private HatchStyleSolid hatchStyleSolid; // nicht persistent, ein HatchStyle für gefüllte Pfeile

private DimensionStyleList parent; // die Liste, in der dieser DimensionStyle steckt.
internal DimensionStyleList Parent
internal new DimensionStyleList Parent
{
get { return parent; }
set { parent = value; }
get => parent;
set => parent = value;
}
IAttributeList INamedAttribute.Parent
{
Expand Down Expand Up @@ -147,7 +147,7 @@ internal static DimensionStyle GetDefault()
res.dimLineColor = ColorDef.GetDefault();
res.dimLineWidth = null;
res.extLineColor = res.dimLineColor;
res.fontColor = res.fontColor;
res.fontColor = null;
res.extLineWidth = null;
res.textFlags = (ETextFlag)(0);
res.types = ETypeFlag.DimAllTypes;
Expand Down

0 comments on commit 0c10ff8

Please sign in to comment.