mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-24 23:09:44 -05:00
Fixed triangle size
This commit is contained in:
parent
3a3ed56d62
commit
c8072b1bfd
@ -1029,7 +1029,7 @@ namespace Phantom
|
|||||||
// Expected time (release): 5usecs for regular-sized arrows
|
// Expected time (release): 5usecs for regular-sized arrows
|
||||||
Q_NEVER_INLINE void drawArrow(QPainter* p, QRect rect, Qt::ArrowType arrowDirection, const QBrush& brush)
|
Q_NEVER_INLINE void drawArrow(QPainter* p, QRect rect, Qt::ArrowType arrowDirection, const QBrush& brush)
|
||||||
{
|
{
|
||||||
const qreal ArrowBaseRatio = 0.9;
|
const qreal ArrowBaseRatio = 1.0;
|
||||||
qreal irx, iry, irw, irh;
|
qreal irx, iry, irw, irh;
|
||||||
QRectF(rect).getRect(&irx, &iry, &irw, &irh);
|
QRectF(rect).getRect(&irx, &iry, &irw, &irh);
|
||||||
if (irw < 1.0 || irh < 1.0)
|
if (irw < 1.0 || irh < 1.0)
|
||||||
|
Loading…
Reference in New Issue
Block a user