Skip to content

Commit af5a6de

Browse files
committed
Support additional track tool bar
1 parent c9a7d75 commit af5a6de

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/plugins/visualeditor/qml/PianoRollView.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,9 +432,10 @@ Item {
432432
color: Theme.foregroundPrimaryColor
433433
font: Theme.font
434434
}
435-
Item {
435+
StackLayout {
436436
Layout.fillWidth: true
437437
Layout.fillHeight: true
438+
data: [layout.item?.toolBar ?? null]
438439
}
439440
ToolButton {
440441
implicitWidth: 20

src/plugins/visualeditor/qml/additionaltracks/ParameterTrack.qml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ QtObject {
2323
readonly property Component parameterTrackComponent: Item {
2424
id: control
2525
required property QtObject contextObject
26+
readonly property Item toolBar: Rectangle {
27+
// TODO
28+
color: "red"
29+
}
2630
implicitHeight: 40
2731
Layout.fillWidth: true
2832
Layout.fillHeight: true

0 commit comments

Comments
 (0)