Commit 0c6b4f4d authored by Leeor Dicker's avatar Leeor Dicker

- Updated TilePalette's startup location.

parent 008c7984
......@@ -18,7 +18,7 @@ const int NUM_TILES_PER_PAGE = TILE_GRID_DIMENSIONS.x() * TILE_GRID_DIMENSION
*/
TilePalette::TilePalette(): mFont(nullptr),
mTset(nullptr),
mRect(Utility<Renderer>::get().screenCenterX() - PALETTE_DIMENSIONS.x() / 2, 125, PALETTE_DIMENSIONS.x(), PALETTE_DIMENSIONS.y()),
mRect(Utility<Renderer>::get().width() - PALETTE_DIMENSIONS.x()- 2, Utility<Renderer>::get().height() - PALETTE_DIMENSIONS.y() - 2, PALETTE_DIMENSIONS.x(), PALETTE_DIMENSIONS.y()),
mNumPages(0),
mCurrentPage(0),
mTsetIndex(0),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment