mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
changed resize handle color
This commit is contained in:
parent
50a2454cc6
commit
77630d5c85
|
@ -1017,8 +1017,15 @@ SplitContainer::ResizeHandle::ResizeHandle(SplitContainer *_parent)
|
||||||
void SplitContainer::ResizeHandle::paintEvent(QPaintEvent *)
|
void SplitContainer::ResizeHandle::paintEvent(QPaintEvent *)
|
||||||
{
|
{
|
||||||
QPainter painter(this);
|
QPainter painter(this);
|
||||||
|
painter.setPen(QPen(getApp()->themes->splits.dropPreviewBorder, 2));
|
||||||
|
|
||||||
painter.fillRect(this->rect(), "#999");
|
painter.fillRect(this->rect(), getApp()->themes->splits.dropPreview);
|
||||||
|
|
||||||
|
if (this->vertical) {
|
||||||
|
painter.drawLine(0, this->height() / 2, this->width(), this->height() / 2);
|
||||||
|
} else {
|
||||||
|
painter.drawLine(this->width() / 2, 0, this->width() / 2, this->height());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SplitContainer::ResizeHandle::mousePressEvent(QMouseEvent *)
|
void SplitContainer::ResizeHandle::mousePressEvent(QMouseEvent *)
|
||||||
|
|
Loading…
Reference in a new issue