Tweak timeline colors

parent ab252a2c
......@@ -160,7 +160,7 @@ Rectangle {
labelRect.x = scrollX > modelStart * timeScale ? scrollX - modelStart * timeScale : 0
}
border.color: selected? activePalette.highlight : grouped ? activePalette.midlight : borderColor
border.color: selected? activePalette.highlight : grouped ? root.audioColor : borderColor
border.width: isGrabbed ? 8 : 1.5
function updateDrag() {
......@@ -421,7 +421,7 @@ Rectangle {
when: clipRoot.selected === true
PropertyChanges {
target: clipRoot
color: Qt.lighter(getColor(), 1.5)
color: Qt.lighter(getColor(), 1.4)
z: 3
}
}
......
......@@ -40,7 +40,7 @@ Rectangle {
property string trackTag
property int thumbsFormat: 0
border.width: 1
border.color: Qt.rgba(activePalette.windowText.r, activePalette.windowText.g, activePalette.windowText.b, 0.1)
border.color: root.frameColor
signal clicked()
function pulseLockButton() {
......
......@@ -126,7 +126,7 @@ Rectangle {
function getTrackColor(audio, header) {
var col = activePalette.alternateBase
if (audio) {
col = Qt.tint(col, "#1000cc00")
col = Qt.tint(col, "#06FF00CC")
}
if (header) {
col = Qt.darker(col, 1.05)
......@@ -164,7 +164,8 @@ Rectangle {
property int headerWidth: timeline.headerWidth()
property int activeTool: 0
property real baseUnit: fontMetrics.font.pointSize
property color selectedTrackColor: Qt.rgba(activePalette.highlight.r, activePalette.highlight.g, activePalette.highlight.b, 0.4)
property color selectedTrackColor: Qt.rgba(activePalette.highlight.r, activePalette.highlight.g, activePalette.highlight.b, 0.2)
property color frameColor: Qt.rgba(activePalette.shadow.r, activePalette.shadow.g, activePalette.shadow.b, 0.3)
property bool stopScrolling: false
property int duration: timeline.duration
property color audioColor: timeline.audioColor
......@@ -1104,7 +1105,7 @@ Rectangle {
delegate: Rectangle {
width: tracksContainerArea.width
border.width: 1
border.color: Qt.rgba(activePalette.windowText.r, activePalette.windowText.g, activePalette.windowText.b, 0.1)
border.color: root.frameColor
height: model.trackHeight
color: tracksRepeater.itemAt(index) ? ((tracksRepeater.itemAt(index).trackInternalId === timeline.activeTrack) ? Qt.tint(getTrackColor(tracksRepeater.itemAt(index).isAudio, false), selectedTrackColor) : getTrackColor(tracksRepeater.itemAt(index).isAudio, false)) : 'red'
}
......
......@@ -91,9 +91,8 @@ public:
if (data.isEmpty()) return;
const qreal indicesPrPixel = qreal(m_outPoint - m_inPoint) / width();
QPen pen = painter->pen();
pen.setWidthF(0.5);
pen.setColor(Qt::black);
painter->setPen(Qt::NoPen);
painter->setOpacity(0.5);
if (!KdenliveSettings::displayallchannels()) {
//m_gradient.setFinalStop(0, height());
//painter->setBrush(m_gradient);
......
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