From 464408e800103a3b50e49b4ae934ceb6323b842f Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 23 Jan 2016 17:52:41 -0500 Subject: [PATCH] fix images not scaling --- dashboard-ui/scripts/librarybrowser.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 93bcb4baf8..fe13f148e6 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -33,11 +33,11 @@ switch (shape) { - case 'squareCard': + case 'square': return 1; - case 'backdropCard': + case 'backdrop': return (16 / 9); - case 'portraitCard': + case 'portrait': return (2 / 3); } return null;