Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F86D10910 for ; Mon, 16 Dec 2013 03:23:11 +0000 (UTC) Received: (qmail 60976 invoked by uid 500); 16 Dec 2013 03:23:09 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 60951 invoked by uid 500); 16 Dec 2013 03:23:07 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 60938 invoked by uid 99); 16 Dec 2013 03:23:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Dec 2013 03:23:07 +0000 Date: Mon, 16 Dec 2013 03:23:07 +0000 (UTC) From: "Justin Mclean (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-33921) BitmapImage don't show up in specific case MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-33921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mclean updated FLEX-33921: --------------------------------- Labels: easyfix easytest (was: ) > BitmapImage don't show up in specific case > ------------------------------------------ > > Key: FLEX-33921 > URL: https://issues.apache.org/jira/browse/FLEX-33921 > Project: Apache Flex > Issue Type: Bug > Components: Spark: Image > Affects Versions: Adobe Flex SDK 4.6 (Release) > Reporter: Jaroslav Pavlicek > Labels: easyfix, easytest > > BitmapImage doesn't show image when: > - size specified by procent (width="100%") > - imageAspectRatio doesn't exactly math display aspect ratio - for example 1.0869565217391304 and 1.0869565217391305 > In my case display width=480, image size is 800x736. > in BitmapImage.as in function updateDisplayList there should be some rounding, something like: > if (Math.ceil(aspectRatio * 1000) != Math.ceil(imageAspectRatio * 1000)) > { > invalidateSize(); > return; > } > because two Number doesn't equals exactly, they differs in some last digits: > 1.0869565217391304 and > 1.0869565217391305 -- This message was sent by Atlassian JIRA (v6.1.4#6159)