change color of + button while dragging split
This commit is contained in:
@@ -61,7 +61,9 @@ void NotebookButton::paintEvent(QPaintEvent *event)
|
|||||||
case Plus: {
|
case Plus: {
|
||||||
painter.setPen([&] {
|
painter.setPen([&] {
|
||||||
QColor tmp = foreground;
|
QColor tmp = foreground;
|
||||||
if (!this->mouseOver_) {
|
if (SplitContainer::isDraggingSplit) {
|
||||||
|
tmp = this->theme->tabs.selected.line.regular;
|
||||||
|
} else if (!this->mouseOver_) {
|
||||||
tmp.setAlpha(180);
|
tmp.setAlpha(180);
|
||||||
}
|
}
|
||||||
return tmp;
|
return tmp;
|
||||||
|
|||||||
Reference in New Issue
Block a user