mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
change color of + button while dragging split
This commit is contained in:
parent
2b1c5113d4
commit
31b9d497d7
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue