From 7ce8846420e1fe56dd399a51776c5c42cac6eeac Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Thu, 29 Nov 2001 23:35:37 +0000 Subject: [PATCH] If we're showing coordinates, also outline the tiles. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@714 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/miso/client/IsoSceneView.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/java/com/threerings/miso/client/IsoSceneView.java b/src/java/com/threerings/miso/client/IsoSceneView.java index 7d2c0ba17..203220299 100644 --- a/src/java/com/threerings/miso/client/IsoSceneView.java +++ b/src/java/com/threerings/miso/client/IsoSceneView.java @@ -1,5 +1,5 @@ // -// $Id: IsoSceneView.java,v 1.74 2001/11/29 23:08:27 mdb Exp $ +// $Id: IsoSceneView.java,v 1.75 2001/11/29 23:35:37 mdb Exp $ package com.threerings.miso.scene; @@ -235,6 +235,11 @@ public class IsoSceneView implements SceneView if ((tile = fringe.getTile(xx, yy)) != null) { tile.paint(gfx, _polys[xx][yy]); } + + // if we're showing coordinates, outline the tiles as well + if (_model.showCoords) { + gfx.draw(_polys[xx][yy]); + } } } }