mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Fix calcGridDimension being called before mScrollDirection
This commit is contained in:
parent
b622a4272e
commit
4a587ca347
|
@ -85,9 +85,9 @@ ImageGridComponent<T>::ImageGridComponent(Window* window) : IList<ImageGridData,
|
||||||
mMargin = screen * 0.07f;
|
mMargin = screen * 0.07f;
|
||||||
mTileSize = GridTileComponent::getDefaultTileSize();
|
mTileSize = GridTileComponent::getDefaultTileSize();
|
||||||
|
|
||||||
calcGridDimension();
|
|
||||||
|
|
||||||
mScrollDirection = SCROLL_VERTICALLY;
|
mScrollDirection = SCROLL_VERTICALLY;
|
||||||
|
|
||||||
|
calcGridDimension();
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
|
Loading…
Reference in a new issue