From d01236928ffdfc28c93ce1a059efb8937c25b167 Mon Sep 17 00:00:00 2001 From: Mike Thomas Date: Wed, 25 Aug 2010 21:12:43 +0000 Subject: [PATCH] Move the default loading progress printout to the middle of the iso view. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@998 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/as/com/threerings/miso/client/MisoScenePanel.as | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/as/com/threerings/miso/client/MisoScenePanel.as b/src/as/com/threerings/miso/client/MisoScenePanel.as index a91218bf..8aec343a 100644 --- a/src/as/com/threerings/miso/client/MisoScenePanel.as +++ b/src/as/com/threerings/miso/client/MisoScenePanel.as @@ -148,6 +148,9 @@ public class MisoScenePanel extends Sprite _loadingProgressFunc = function (progress :Number) :void { loadingText.text = "Loading... " + int(progress*100) + "%"; + loadingText.x = (_isoView.size.x - loadingText.width)/2; + loadingText.y = (_isoView.size.y - loadingText.height)/2; + }; _loadingProgressFunc(0.0); return loadingText;