Skip to content

Commit

Permalink
cleaning up commented out code
Browse files Browse the repository at this point in the history
From my earlier work on drawing legend items
  • Loading branch information
danames committed May 11, 2018
1 parent 93a73d6 commit b36a6f4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Source/DotSpatial.Controls/LayoutLegend.cs
Original file line number Diff line number Diff line change
Expand Up @@ -282,12 +282,6 @@ public override void Draw(Graphics g, bool printing)
IMapLayer mapLayerClone = (IMapLayer)mapLayer.Clone();
DrawLegendItem(g, mapLayerClone, itemSize, ref col, ref row, ref maxCol, ref maxRow);
DrawLegendList(g, mapLayerClone.LegendItems, itemSize, ref col, ref row, ref maxCol, ref maxRow);
/*
if (mapLayer.LegendItems == null)
DrawLegendItem(g, mapLayer, itemSize, ref col, ref row, ref maxCol, ref maxRow);
else
DrawLegendList(g, mapLayer.LegendItems, itemSize, ref col, ref row, ref maxCol, ref maxRow);
*/
}

// Restored the old graphics settings
Expand Down

0 comments on commit b36a6f4

Please sign in to comment.