Audio Preview Button: Don't gain focus on press
That makes the bigger preview scroll into it which given the audio preview contains the whole list of icons doesn't really make sense, the focus code was more towards editable fields
commitfff4d70489fcfed585b97e88727a545efd0aacb4
authorAlbert Astals Cid <albert.astals@canonical.com>
dateMon 18 Jan 2016, 18:08 (11 years ago)
parente2e7e7d
qml/Dash/Previews/PreviewAudioPlayback.qml+1
@@ -71,6 +71,7 @@ PreviewWidget {
7171 width: trackRow.column1Width
7272 height: width
7373 iconSource: DashAudioPlayer.playing && trackItem.isPlayingItem ? "image://theme/media-playback-pause" : "image://theme/media-playback-start"
74+ activeFocusOnPress: false
7475
7576 // Can't be "transparent" or "#00xxxxxx" as the button optimizes away the surrounding shape
7677 // FIXME when this is resolved: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1251685