From 53e91fcdfc94ca892352ee5412a14f8f117e3bf8 Mon Sep 17 00:00:00 2001 From: Mikael Sand Date: Sat, 9 Mar 2019 06:28:25 +0200 Subject: [PATCH] [web] Remove incorrect preserveAspectRatio logic --- index.web.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/index.web.js b/index.web.js index e42cd648..1e33898c 100644 --- a/index.web.js +++ b/index.web.js @@ -91,12 +91,6 @@ function prepare(props) { styles, ); - // We provide a default of `xMidYMid` if aspectRatio is not specified with align information. - const preserve = clean.preserveAspectRatio; - if (preserve && preserve !== 'none' && !~preserve.indexOf(' ')) { - clean.preserveAspectRatio = 'xMidYMid ' + preserve; - } - return clean; }