mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 01:45:36 -04:00
Fix splitter handle placement on child partitions.
This commit is contained in:
parent
9682520c61
commit
3f9aae9af6
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ PartitionSplitterWidget::drawResizeHandle( QPainter* painter,
|
||||||
|
|
||||||
painter->setRenderHint( QPainter::Antialiasing, true );
|
painter->setRenderHint( QPainter::Antialiasing, true );
|
||||||
|
|
||||||
qreal h = rect_.height();
|
qreal h = VIEW_HEIGHT; // Put the arrow in the center regardless of inner box height
|
||||||
int scaleFactor = qRound( height() / static_cast< qreal >( VIEW_HEIGHT ) );
|
int scaleFactor = qRound( height() / static_cast< qreal >( VIEW_HEIGHT ) );
|
||||||
QList< QPair< qreal, qreal > > arrow_offsets = {
|
QList< QPair< qreal, qreal > > arrow_offsets = {
|
||||||
qMakePair( 0, h / 2 - 1 ),
|
qMakePair( 0, h / 2 - 1 ),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue