Commit c24fe986 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Don't show monitor audio overly for clips with no audio

parent b52b6bfe
...@@ -137,7 +137,7 @@ Item { ...@@ -137,7 +137,7 @@ Item {
height: controller.clipType == ProducerType.Audio ? parent.height : parent.height / 6 height: controller.clipType == ProducerType.Audio ? parent.height : parent.height / 6
//font.pixelSize * 3 //font.pixelSize * 3
width: parent.width width: parent.width
visible: root.showAudiothumb visible: root.showAudiothumb && (controller.clipType == ProducerType.Audio || controller.clipType == ProducerType.AV)
states: [ states: [
State { when: audioThumb.stateVisible || controller.clipType == ProducerType.Audio; State { when: audioThumb.stateVisible || controller.clipType == ProducerType.Audio;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment