Skip to content

Commit d69dbeb

Browse files
committed
Fixing MW5CORE-216
1 parent 11f1caa commit d69dbeb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/MW5.Api/Legend/Renderer/VectorSymbologyRenderer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ private void RenderChartFields(int left, int top)
160160
/// <summary>
161161
/// Draws the shapefile categories.
162162
/// </summary>
163-
private void DrawShapefileCategories(int top, bool isSnapshot, int maxWidth)
163+
private void DrawShapefileCategories(ref int top, bool isSnapshot, int maxWidth)
164164
{
165165
if (_sf.Categories.Count == 0)
166166
{
@@ -348,7 +348,7 @@ private void RenderCore()
348348

349349
top += height;
350350

351-
DrawShapefileCategories(top, _isSnapshot, maxWidth);
351+
DrawShapefileCategories(ref top, _isSnapshot, maxWidth);
352352

353353
DrawCharts(top);
354354
}

0 commit comments

Comments
 (0)