Index: sources/gui/qml/components/ModalDialog.qml =================================================================== diff -u -r7fb13d9e1a453a37ab4dea5536e0f19ed6e272d2 -r9f5f28d1d928963a9bad6b9b95ff93a81f1cca4b --- sources/gui/qml/components/ModalDialog.qml (.../ModalDialog.qml) (revision 7fb13d9e1a453a37ab4dea5536e0f19ed6e272d2) +++ sources/gui/qml/components/ModalDialog.qml (.../ModalDialog.qml) (revision 9f5f28d1d928963a9bad6b9b95ff93a81f1cca4b) @@ -16,7 +16,7 @@ // Qt import QtQuick 2.12 import QtQuick.Controls 2.12 // Dialog -import QtGraphicalEffects 1.12 +// import QtGraphicalEffects 1.12 // Project // Qml imports @@ -36,7 +36,7 @@ property alias radius : _backgroundRect.radius property alias notificationText : _notification.text property alias notification : _notification - property bool showDropShadow : false + // property bool showDropShadow : false property alias backgroundItem : _backgroundItem.children property alias backgroundItemZ : _backgroundItem.z property bool closeOnStateChange : true @@ -48,8 +48,8 @@ x: Math.round((Variables.applicationWidth - width) / 2) y: Math.round((Variables.applicationHeight - height) / 2) - enter: Transition { NumberAnimation { property: "scale"; from: 0.8; to: 1.0; duration: 200; easing.type: Easing.OutCubic } } - exit : Transition { NumberAnimation { property: "scale"; from: 1.0; to: 0.8; duration: 200; easing.type: Easing.InCubic } } + // enter: Transition { NumberAnimation { property: "scale"; from: 0.8; to: 1.0; duration: 200; easing.type: Easing.OutCubic } } + // exit : Transition { NumberAnimation { property: "scale"; from: 1.0; to: 0.8; duration: 200; easing.type: Easing.InCubic } } modal: true @@ -66,17 +66,17 @@ color : Colors.backgroundDialog radius : Variables.dialogRadius - layer.enabled : showDropShadow - layer.effect: DropShadow { - id: _dropShadow - horizontalOffset: 4 - verticalOffset : 4 - radius : 12 - samples : 32 - color : Colors.dropShadowDialogColor - source : _backgroundRect - anchors.fill : _backgroundRect - } + // layer.enabled : showDropShadow + // layer.effect: DropShadow { + // id: _dropShadow + // horizontalOffset: 4 + // verticalOffset : 4 + // radius : 12 + // samples : 32 + // color : Colors.dropShadowDialogColor + // source : _backgroundRect + // anchors.fill : _backgroundRect + // } // 👇 Placeholder for an injected component. Ex. numpad Item { id: _backgroundItem }