updated splitheader

This commit is contained in:
fourtf
2018-05-11 13:55:10 +02:00
parent 27cd953c8c
commit 28fb877020
4 changed files with 20 additions and 27 deletions
+3 -3
View File
@@ -112,9 +112,9 @@ void SplitOverlay::paintEvent(QPaintEvent *event)
void SplitOverlay::resizeEvent(QResizeEvent *event)
{
float scale = this->getScale();
bool wideEnough = event->size().width() > 150 * scale;
bool highEnough = event->size().height() > 150 * scale;
float _scale = this->getScale();
bool wideEnough = event->size().width() > 150 * _scale;
bool highEnough = event->size().height() > 150 * _scale;
this->_left->setVisible(wideEnough);
this->_right->setVisible(wideEnough);