diff --git a/.github/release-nest-v3 b/.github/release-nest-v3 index 56a6051..d8263ee 100644 --- a/.github/release-nest-v3 +++ b/.github/release-nest-v3 @@ -1 +1 @@ -1 \ No newline at end of file +2 \ No newline at end of file diff --git a/pikabar/debian/changelog b/pikabar/debian/changelog index e1bac12..f141925 100644 --- a/pikabar/debian/changelog +++ b/pikabar/debian/changelog @@ -1,3 +1,10 @@ +pikabar (1.0.0-101pika3) pika; urgency=medium + + * Font fixes + + -- ferrreo Sat, 01 Oct 2022 14:50:00 +0300 + + pikabar (1.0.0-101pika2) pika; urgency=medium * Pika 4 Inital Release diff --git a/pikabar/usr/share/pikabar/CommonStyles.qml b/pikabar/usr/share/pikabar/CommonStyles.qml index aad403d..c4d1b2b 100644 --- a/pikabar/usr/share/pikabar/CommonStyles.qml +++ b/pikabar/usr/share/pikabar/CommonStyles.qml @@ -11,4 +11,5 @@ QtObject { property int textFontSize: 16 property int smallTextFontSize: 12 property int iconFontSize: 14 + property int iconFontSizeLarge: 20 } \ No newline at end of file diff --git a/pikabar/usr/share/pikabar/widgets/NowPlaying.qml b/pikabar/usr/share/pikabar/widgets/NowPlaying.qml index 39ea86d..6f9845b 100644 --- a/pikabar/usr/share/pikabar/widgets/NowPlaying.qml +++ b/pikabar/usr/share/pikabar/widgets/NowPlaying.qml @@ -123,9 +123,9 @@ BarWidget { Text { anchors.centerIn: parent - text: root.player?.playbackState === MprisPlaybackState.Playing ? "󰏤" : "󰐊" - font.family: "JetBrainsMono Nerd Font" - font.pixelSize: 20 + text: root.player?.playbackState === MprisPlaybackState.Playing ? "pause" : "play_arrow" + font.family: Globals.commonStyles.iconFontFamily + font.pixelSize: Globals.commonStyles.iconFontSizeLarge color: Globals.commonStyles.textColor opacity: mouseArea.containsMouse ? 1.0 : 0.0 Behavior on opacity { @@ -138,7 +138,7 @@ BarWidget { MouseArea { id: mouseArea anchors.fill: parent - hoverEnabled: true + hoverEnabled: root.player?.playbackState === MprisPlaybackState.Stopped || root.player?.playbackState === MprisPlaybackState.Playing || root.player?.playbackState === MprisPlaybackState.Paused cursorShape: Qt.PointingHandCursor onClicked: root.player?.togglePlaying() }