From 10ac51432591c355c7bbb51722a5a4be5cc35967 Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Fri, 18 Oct 2013 15:53:28 +0200 Subject: [PATCH] Don't resize 9Patch images. This messes up the Chat View --- ImageOptim.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ImageOptim.sh b/ImageOptim.sh index b9b442c01..543d62d61 100755 --- a/ImageOptim.sh +++ b/ImageOptim.sh @@ -40,6 +40,10 @@ for PNG in $PNGS; do SUFFIX="~ipad" BASENAME=$(echo ${BASENAME} |cut -f1 -d~) ;; + # don't ever resize 9Patch assets, otherwise it can't handle the resizing + *9) + PROCESS=false + ;; esac STANDARDFILE=${BASENAME}${SUFFIX}.png