Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Commit

Permalink
fix colour of selected element
Browse files Browse the repository at this point in the history
  • Loading branch information
vnoves committed Feb 10, 2020
1 parent e633dca commit 0d7670b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions RenumberParts/Core/RenumberMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -320,15 +320,14 @@ public static void AddToSelection()

//Split coloSelect in R,G,B to be transformed to a Revit color later
byte r = colorSelect.R;
byte b = colorSelect.B;
byte g = colorSelect.G;

byte b = colorSelect.B;


#if REVIT2020 || REVIT2019
OverrideElemtColor.Graphics20192020(doc,ref overrideGraphicSettings, r, b, g);
OverrideElemtColor.Graphics20192020(doc,ref overrideGraphicSettings, r, g, b);
#else
OverrideElemtColor.Graphics20172018(doc,ref overrideGraphicSettings, r, b, g);
OverrideElemtColor.Graphics20172018(doc,ref overrideGraphicSettings, r, g, b);
#endif


Expand Down

0 comments on commit 0d7670b

Please sign in to comment.