mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Merge pull request #416 from Koerty/grid-fix-calcGridDimension
Fix calcGridDimension being called before mScrollDirection
This commit is contained in:
commit
6902ac2cb8
|
@ -85,9 +85,9 @@ ImageGridComponent<T>::ImageGridComponent(Window* window) : IList<ImageGridData,
|
|||
mMargin = screen * 0.07f;
|
||||
mTileSize = GridTileComponent::getDefaultTileSize();
|
||||
|
||||
calcGridDimension();
|
||||
|
||||
mScrollDirection = SCROLL_VERTICALLY;
|
||||
|
||||
calcGridDimension();
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
|
|
Loading…
Reference in a new issue