mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 17:20:53 +01:00
[apps/shared] In zoom parameter controller, change the layout to avoid
useless redrawing Change-Id: I4336da535e99e95ace065d26c0f15b02f60ed24d
This commit is contained in:
@@ -82,7 +82,7 @@ View * ZoomParameterController::ContentView::subviewAtIndex(int index) {
|
||||
}
|
||||
|
||||
void ZoomParameterController::ContentView::layoutSubviews() {
|
||||
m_curveView->setFrame(bounds());
|
||||
m_curveView->setFrame(KDRect(0, 0, bounds().width(), bounds().height() - k_legendHeight));
|
||||
m_legendView.setFrame(KDRect(0, bounds().height() - k_legendHeight, bounds().width(), k_legendHeight));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user