change color of + button while dragging split

This commit is contained in:
fourtf 2018-10-09 19:22:07 +02:00
parent 2b1c5113d4
commit 31b9d497d7

View file

@ -61,7 +61,9 @@ void NotebookButton::paintEvent(QPaintEvent *event)
case Plus: {
painter.setPen([&] {
QColor tmp = foreground;
if (!this->mouseOver_) {
if (SplitContainer::isDraggingSplit) {
tmp = this->theme->tabs.selected.line.regular;
} else if (!this->mouseOver_) {
tmp.setAlpha(180);
}
return tmp;