From f5ab6c69f817109712327b1de993b28b5438b402 Mon Sep 17 00:00:00 2001
From: DD Liu <liudi@media.mit.edu>
Date: Wed, 2 May 2018 09:50:16 -0400
Subject: [PATCH] add comment on default resolution

---
 src/containers/costume-tab.jsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/containers/costume-tab.jsx b/src/containers/costume-tab.jsx
index 1b8b2b993..0a360ba33 100644
--- a/src/containers/costume-tab.jsx
+++ b/src/containers/costume-tab.jsx
@@ -195,6 +195,7 @@ class CostumeTab extends React.Component {
         this.fileInput = input;
     }
     formatCostumeDetails (size, optResolution) {
+        // If no resolution is given, assume that the costume is an SVG
         const resolution = optResolution ? optResolution : 1;
         // Convert size to stage units by dividing by resolution
         // Round up width and height for scratch-flash compatibility
-- 
GitLab