Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d7c0e5a4 authored by Wolthera van Hövell's avatar Wolthera van Hövell 🛍

Make the disabled icons in timeline docker draw semi-transparent.

This makes them draw similar to the icons in the layer docker, giving
more consistency.
parent 7b4550bd
......@@ -154,8 +154,12 @@ void TimelineLayersHeader::paintSection(QPainter *painter, const QRect &rect, in
const bool isActive = p->state.toBool();
QIcon icon = isActive ? p->onIcon : p->offIcon;
if (!isActive) {
painter->setOpacity(0.35);
}
QRect rc = m_d->iconRect(logicalIndex, i).translated(rect.topLeft());
icon.paint(painter, rc);
painter->setOpacity(1.0);
}
}
......
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