Update Pikabar package to v1.0.0-101pika3 with font fixes and adjust playback controls in UI for better user experience
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 36s

This commit is contained in:
ferreo 2024-11-17 18:24:39 +00:00
parent af2b8c5c53
commit 3bc4f51c0d
4 changed files with 13 additions and 5 deletions

View File

@ -1 +1 @@
1
2

View File

@ -1,3 +1,10 @@
pikabar (1.0.0-101pika3) pika; urgency=medium
* Font fixes
-- ferrreo <harderthanfire@gmail.com> Sat, 01 Oct 2022 14:50:00 +0300
pikabar (1.0.0-101pika2) pika; urgency=medium
* Pika 4 Inital Release

View File

@ -11,4 +11,5 @@ QtObject {
property int textFontSize: 16
property int smallTextFontSize: 12
property int iconFontSize: 14
property int iconFontSizeLarge: 20
}

View File

@ -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()
}