Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DomCR committed Nov 20, 2023
1 parent ef332a4 commit 920aaea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ACadSharp/IO/DWG/DwgStreamReaders/DwgStreamReaderAC18.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public override Color ReadEnColor(out Transparency transparency, out bool flag)
else
{
//Color index: if no flags were set, the color is looked up by the color number (ACI color).
color = new Color((byte)(size & 0b111111111111));
color = new Color((short)(size & 0b111111111111));
}

//0x2000: color is followed by a transparency BL
Expand Down

0 comments on commit 920aaea

Please sign in to comment.