Skip to content

Commit

Permalink
Fix playback speed not connected to Neuronify
Browse files Browse the repository at this point in the history
  • Loading branch information
dragly committed Jun 15, 2017
1 parent 7d9878e commit d0676f2
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions qml/MainDesktop.qml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,22 @@ Item {
focus: true
}

PlaybackControls {
id: playbackControls
revealed: true
autoHideEnabled: false
Binding {
target: neuronify
property: "playbackSpeed"
value: playbackControls.playbackSpeed
}
Binding {
target: playbackControls
property: "playbackSpeed"
value: neuronify.playbackSpeed
}
}

EditMenu { // TODO rename to topmenu
id: topMenu

Expand Down Expand Up @@ -519,11 +535,6 @@ Item {
verticalOffset: -1
}

PlaybackControls {
revealed: true
autoHideEnabled: false
}

states: [
State {
name: "view"
Expand Down

0 comments on commit d0676f2

Please sign in to comment.