diff --git a/bitcoin-price-1.5.2.plasmoid b/bitcoin-price-1.5.2.plasmoid new file mode 100644 index 0000000..64b12ad Binary files /dev/null and b/bitcoin-price-1.5.2.plasmoid differ diff --git a/contents/ui/DisplayFlip.qml b/contents/ui/DisplayFlip.qml index 6a5f5c2..2bab67c 100644 --- a/contents/ui/DisplayFlip.qml +++ b/contents/ui/DisplayFlip.qml @@ -209,9 +209,12 @@ Row { height: 1 } - // trend arrow: green up / red down; unchanged keeps the last arrow + // trend arrow: green up / red down; unchanged keeps the last arrow. + // The triangle glyph sits low on the baseline; shift it up so its + // visual center matches the euro sign. Text { anchors.verticalCenter: parent.verticalCenter + anchors.verticalCenterOffset: -root.height * 0.125 text: root.lastDir > 0 ? "\u25B2" : "\u25BC" visible: root.digitsOnly.length > 0 && root.lastDir !== 0 color: root.lastDir > 0 ? "#2ecc71" : "#e74c3c" diff --git a/contents/ui/DisplayNixie.qml b/contents/ui/DisplayNixie.qml index 94fd37d..5030388 100644 --- a/contents/ui/DisplayNixie.qml +++ b/contents/ui/DisplayNixie.qml @@ -170,9 +170,12 @@ Row { height: 1 } - // trend arrow: green up / red down; unchanged keeps the last arrow + // trend arrow: green up / red down; unchanged keeps the last arrow. + // The triangle glyph sits low on the baseline; shift it up so its + // visual center matches the euro sign. Text { anchors.verticalCenter: parent.verticalCenter + anchors.verticalCenterOffset: -root.height * 0.095 text: root.lastDir > 0 ? "\u25B2" : "\u25BC" visible: root.digits.length > 0 && root.lastDir !== 0 color: root.lastDir > 0 ? "#2ecc71" : "#e74c3c" diff --git a/metadata.desktop b/metadata.desktop index b66d782..a5004de 100644 --- a/metadata.desktop +++ b/metadata.desktop @@ -10,7 +10,7 @@ X-KDE-ServiceTypes=Plasma/Applet X-KDE-PluginInfo-Author=Arnold Cordewiner X-KDE-PluginInfo-Email=hermes@a14r.be X-KDE-PluginInfo-Name=nl.a14r.bitcoinprice -X-KDE-PluginInfo-Version=1.5.1 +X-KDE-PluginInfo-Version=1.5.2 X-KDE-PluginInfo-Website=https://gitea.a14r.be/hermes/plasma-bitcoin-price X-KDE-PluginInfo-Category=Utilities X-KDE-PluginInfo-License=MIT