From 5a66cbffefb1acd8e32a529800968043a2e39ee9 Mon Sep 17 00:00:00 2001 From: Nathan Dinsmore Date: Tue, 24 Jun 2014 14:43:55 -0400 Subject: [PATCH] Fixed whitespace in ui.parts.LibraryPart --- src/ui/parts/LibraryPart.as | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/ui/parts/LibraryPart.as b/src/ui/parts/LibraryPart.as index 3f04a8d..8626492 100644 --- a/src/ui/parts/LibraryPart.as +++ b/src/ui/parts/LibraryPart.as @@ -374,7 +374,6 @@ public class LibraryPart extends UIPart { if (spr.costumes.length > 1) spr.costumes.shift(); // remove default costume spr.showCostumeNamed(list[0].costumeName); app.addNewSprite(spr); - } } var lib:MediaLibrary = new MediaLibrary(app, 'sprite', addSprite); @@ -385,7 +384,7 @@ public class LibraryPart extends UIPart { // ----------------------------- // New Backdrop Operations //------------------------------ - + private function backdropFromCamera(b:IconButton):void { function savePhoto(photo:BitmapData):void { addBackdrop(new ScratchCostume(Translator.map('photo1'), photo)); @@ -393,7 +392,7 @@ public class LibraryPart extends UIPart { } app.openCameraDialog(savePhoto); } - + private function backdropFromComputer(b:IconButton):void { var lib:MediaLibrary = new MediaLibrary(app, 'backdrop', addBackdrop); lib.importFromDisk(); @@ -407,7 +406,7 @@ public class LibraryPart extends UIPart { private function paintBackdrop(b:IconButton):void { addBackdrop(ScratchCostume.emptyBitmapCostume(Translator.map('backdrop1'), true)); } - + private function addBackdrop(costumeOrList:*):void { var c:ScratchCostume = costumeOrList as ScratchCostume; if (c) {