Cleaned up default target variant selection code and some tidying
This commit is contained in:
@@ -23,7 +23,6 @@ void BodyWidget::drawWidget(QPainter& painter) {
|
||||
painter.setRenderHints(QPainter::RenderHint::Antialiasing | QPainter::RenderHint::SmoothPixmapTransform, true);
|
||||
|
||||
// Draw target body
|
||||
// auto targetBodyColor = QColor("#AFB1B3");
|
||||
auto targetBodyColor = this->getBodyColor();
|
||||
auto backgroundColor = QColor("#3C3F41");
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ namespace Bloom::InsightTargetWidgets::Dip
|
||||
Q_PROPERTY(int disableAlphaLevel READ getDisableAlphaLevel WRITE setDisableAlphaLevel DESIGNABLE true)
|
||||
|
||||
private:
|
||||
// These properties can be modified via Qt style sheets (see Stylesheets/DualInlinePackage.qss)
|
||||
QColor bodyColor = QColor("#AFB1B3");
|
||||
int disableAlphaLevel = 100;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user