mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +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)
|
||||
{
|
||||
Q_UNUSED(event);
|
||||
fitInView(m_background, Qt::IgnoreAspectRatio );
|
||||
fitInView(m_background, Qt::KeepAspectRatio);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user