mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
gcscontrol: keep joystick image aspect ratio
OP-619
This commit is contained in:
parent
9006dd558f
commit
da650cee60
@ -149,7 +149,7 @@ void JoystickControl::paintEvent(QPaintEvent *event)
|
|||||||
void JoystickControl::resizeEvent(QResizeEvent *event)
|
void JoystickControl::resizeEvent(QResizeEvent *event)
|
||||||
{
|
{
|
||||||
Q_UNUSED(event);
|
Q_UNUSED(event);
|
||||||
fitInView(m_background, Qt::IgnoreAspectRatio );
|
fitInView(m_background, Qt::KeepAspectRatio);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user