Fix arrows size when expand/collapse a group

Change ratio from 0.7 to 0.9 to give a more coherent look and feel to the tree.
This commit is contained in:
Dmytro Maslenko 2023-02-09 17:59:54 -08:00 committed by Jonathan White
parent 20e8e524a5
commit b4be71d967

View File

@ -1049,7 +1049,7 @@ namespace Phantom
// Expected time (release): 5usecs for regular-sized arrows
Q_NEVER_INLINE void drawArrow(QPainter* p, QRect rect, Qt::ArrowType arrowDirection, const QBrush& brush)
{
const qreal ArrowBaseRatio = 0.70;
const qreal ArrowBaseRatio = 0.9;
qreal irx, iry, irw, irh;
QRectF(rect).getRect(&irx, &iry, &irw, &irh);
if (irw < 1.0 || irh < 1.0)