Skip to content

Commit

Permalink
make highlight bigger to match old highlight drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
treellama committed Dec 29, 2015
1 parent 06bf8f4 commit 24f971e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gtk-sharp/MapDrawingArea.cs
Original file line number Diff line number Diff line change
Expand Up @@ -565,10 +565,10 @@ void DrawImage(Gdk.Pixbuf image, double X, double Y, bool highlight) {

if (highlight) {
List<Drawer.Point> points = new List<Drawer.Point>();
points.Add(new Drawer.Point(x - 1.5, y - 1.5));
points.Add(new Drawer.Point(x + image.Width + 0.5, y - 1.5));
points.Add(new Drawer.Point(x + image.Width + 0.5, y + image.Height + 0.5));
points.Add(new Drawer.Point(x - 1.5, y + image.Height + 0.5));
points.Add(new Drawer.Point(x - 2.5, y - 2.5));
points.Add(new Drawer.Point(x + image.Width + 1.5, y - 2.5));
points.Add(new Drawer.Point(x + image.Width + 1.5, y + image.Height + 1.5));
points.Add(new Drawer.Point(x - 2.5, y + image.Height + 1.5));
drawer.FillPolygon(new Drawer.Color(1, 1, 0), points);
}

Expand Down

0 comments on commit 24f971e

Please sign in to comment.