Skip to content

Commit

Permalink
fix: 调整滑动条横条和刻度颜色
Browse files Browse the repository at this point in the history
调整滑动条横条和刻度颜色

Log: 调整滑动条横条和刻度颜色
Bug: https://pms.uniontech.com/bug-view-254295.html
Influence: 调整滑动条横条和刻度颜色
  • Loading branch information
Whale107 committed Aug 30, 2024
1 parent 994e2b1 commit 10f54cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion styleplugins/chameleon/chameleonstyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3396,7 +3396,7 @@ void ChameleonStyle::drawComplexControl(QStyle::ComplexControl cc, const QStyleO
p->setPen(pen);
p->setRenderHint(QPainter::Antialiasing);

QColor color = getColor(opt, DPalette::ObviousBackground, w); //绘画的右侧/上侧的滑槽颜色一定是灰
QColor color = adjustColor(getColor(opt, DPalette::ObviousBackground, w), 0, 0, 0, 0, 0, 0, +15); //绘画的右侧/上侧的滑槽颜色一定是灰

// 属性启用灰色滑槽
QVariant prop = dslider ? const_cast<DSlider *>(dslider)->slider()->property("_d_dtk_sldier_across") : QVariant();
Expand Down

0 comments on commit 10f54cf

Please sign in to comment.