From 51820b2a880ac6d018d0f03675d5aa30d6334bc1 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Tue, 30 Nov 2021 22:05:39 +0100 Subject: [ui] tweak signal icon nodes --- gui/components/Footer.qml | 14 +++++++++----- gui/resources/reception-4@24.svg | 14 ++++++++------ 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/gui/components/Footer.qml b/gui/components/Footer.qml index 516d837..0c772ef 100644 --- a/gui/components/Footer.qml +++ b/gui/components/Footer.qml @@ -96,12 +96,17 @@ ToolBar { } } + // TODO refactor with SignalIcon + // This signal image renders particularly bad at this size. + // https://stackoverflow.com/a/23449205/1157664 Image { id: gwQuality - height: 24 - width: 24 - smooth: true source: "../resources/reception-0@24.svg" + width: 24 + sourceSize.width: 24 + smooth: false + mipmap: true + antialiasing: false anchors { right: parent.right verticalCenter: parent.verticalCenter @@ -109,12 +114,11 @@ ToolBar { topMargin: 5 rightMargin: 20 } - // TODO refactor with SignalIcon ColorOverlay{ anchors.fill: gwQuality source: gwQuality color: getSignalColor() - antialiasing: true + antialiasing: false } } } diff --git a/gui/resources/reception-4@24.svg b/gui/resources/reception-4@24.svg index caec436..700b71e 100644 --- a/gui/resources/reception-4@24.svg +++ b/gui/resources/reception-4@24.svg @@ -24,7 +24,7 @@ image/svg+xml - + @@ -44,14 +44,16 @@ id="namedview6" showgrid="false" inkscape:zoom="36.041667" - inkscape:cx="12" - inkscape:cy="12" + inkscape:cx="15.42659" + inkscape:cy="15.840614" inkscape:window-x="1920" inkscape:window-y="0" inkscape:window-maximized="1" - inkscape:current-layer="svg4" /> + inkscape:current-layer="svg4" + inkscape:document-rotation="0" /> + style="stroke-width:1.60115" + sodipodi:nodetypes="ssssssssscsscssssccssccssccsssscsscs" /> -- cgit v1.2.3