From b166e24ff5daac0bef3c4d401e7c5d7b6f307f65 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Mon, 1 Jun 2015 11:06:33 -0700 Subject: [PATCH] Fix initial fade-in --- interface/resources/qml/AddressBarDialog.qml | 2 +- interface/resources/qml/ErrorDialog.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/resources/qml/AddressBarDialog.qml b/interface/resources/qml/AddressBarDialog.qml index 2a18c21bdf..30890c0050 100644 --- a/interface/resources/qml/AddressBarDialog.qml +++ b/interface/resources/qml/AddressBarDialog.qml @@ -111,7 +111,7 @@ Item { // that can be animated, like scale or opacity, and then when the target animation value is reached, we can modify the // visibility. enabled: false - opacity: 1.0 + opacity: 0.0 onEnabledChanged: { opacity = enabled ? 1.0 : 0.0 diff --git a/interface/resources/qml/ErrorDialog.qml b/interface/resources/qml/ErrorDialog.qml index 72b2c24e90..c0f8132f14 100644 --- a/interface/resources/qml/ErrorDialog.qml +++ b/interface/resources/qml/ErrorDialog.qml @@ -104,7 +104,7 @@ Item { // that can be animated, like scale or opacity, and then when the target animation value is reached, we can modify the // visibility. enabled: false - opacity: 1.0 + opacity: 0.0 onEnabledChanged: { opacity = enabled ? 1.0 : 0.0