From 2f7835069674a4b7ffc0291393d7bc855dccd5ee Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 3 Sep 2023 17:44:15 -0500 Subject: [PATCH] Change PC offline overlay to match new Play and Stop icons --- app/gui/PcView.qml | 8 ++++---- app/res/warning_FILL1_wght300_GRAD200_opsz24.svg | 1 + app/resources.qrc | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 app/res/warning_FILL1_wght300_GRAD200_opsz24.svg diff --git a/app/gui/PcView.qml b/app/gui/PcView.qml index 27b37fdc..031e0540 100644 --- a/app/gui/PcView.qml +++ b/app/gui/PcView.qml @@ -130,12 +130,12 @@ CenteredGridView { id: stateIcon anchors.horizontalCenter: pcIcon.horizontalCenter anchors.verticalCenter: pcIcon.verticalCenter - anchors.verticalCenterOffset: -15 + anchors.verticalCenterOffset: !model.online ? -18 : -16 visible: !model.statusUnknown && (!model.online || !model.paired) - source: !model.online ? "qrc:/res/baseline-warning-24px.svg" : "qrc:/res/baseline-lock-24px.svg" + source: !model.online ? "qrc:/res/warning_FILL1_wght300_GRAD200_opsz24.svg" : "qrc:/res/baseline-lock-24px.svg" sourceSize { - width: 75 - height: 75 + width: !model.online ? 75 : 70 + height: !model.online ? 75 : 70 } } diff --git a/app/res/warning_FILL1_wght300_GRAD200_opsz24.svg b/app/res/warning_FILL1_wght300_GRAD200_opsz24.svg new file mode 100644 index 00000000..fe7c5132 --- /dev/null +++ b/app/res/warning_FILL1_wght300_GRAD200_opsz24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/app/resources.qrc b/app/resources.qrc index fa2220b7..24ffac4d 100644 --- a/app/resources.qrc +++ b/app/resources.qrc @@ -6,6 +6,7 @@ res/baseline-lock-24px.svg res/play_arrow_FILL1_wght700_GRAD200_opsz48.svg res/baseline-warning-24px.svg + res/warning_FILL1_wght300_GRAD200_opsz24.svg res/stop_FILL1_wght700_GRAD200_opsz48.svg res/no_app_image.png res/settings.svg