mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-03 04:15:37 -04:00
Draw the handle when it matters.
This commit is contained in:
parent
3238498e48
commit
9682520c61
1 changed files with 3 additions and 4 deletions
|
@ -482,14 +482,13 @@ PartitionSplitterWidget::drawPartitions( QPainter* painter,
|
|||
m_itemToResizeNext &&
|
||||
row > 0 &&
|
||||
items[ row - 1 ].itemPath == m_itemToResize->itemPath )
|
||||
{
|
||||
m_resizeHandleX = x;
|
||||
drawResizeHandle( painter, rect, m_resizeHandleX );
|
||||
}
|
||||
|
||||
x += width;
|
||||
}
|
||||
if ( m_itemToResize && m_itemToResizeNext )
|
||||
{
|
||||
drawResizeHandle( painter, rect, m_resizeHandleX );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue