Remove tile fade-in
authorRichard Fairhurst <richard@systemeD.net>
Tue, 20 Aug 2013 07:24:25 +0000 (08:24 +0100)
committerRichard Fairhurst <richard@systemeD.net>
Tue, 20 Aug 2013 07:24:25 +0000 (08:24 +0100)
This is part of work intended to reposition P2 as an intermediate editor for a comparatively small number of OSMers (read: "the editor I want to use") now that we have iD for beginners and other new users

net/systemeD/halcyon/TileSet.as

index 0ad5a34..9416bc6 100644 (file)
@@ -185,20 +185,12 @@ package net.systemeD.halcyon {
 
                /** Tile image has been downloaded, so start displaying it. */
                protected function doImgInit(event:Event):void {
-                       event.target.loader.alpha=0;
-                       var t:Timer=new Timer(10,10);
-                       t.addEventListener(TimerEvent.TIMER,function():void { upFade(DisplayObject(event.target.loader)); });
-                       t.start();
                        waiting--;
                        loadcount++;
                        if (loadcount>MAXTILESLOADED) purgeTiles();
                        return;
                }
                
-               protected function upFade(s:DisplayObject):void {
-                       s.alpha+=0.1;
-               }
-               
                protected function purgeTiles():void {
                        for (var tile:String in tiles) {
                                if (tiles[tile] is Sprite) {