We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3269ac6 commit 210dad7Copy full SHA for 210dad7
src/GameView.cpp
@@ -491,7 +491,8 @@ void DrawingGameVisitor::visit(GameDice& dice) {
491
static std::map<int, std::pair<float, float>> topLeftOffset;
492
//construct offset map
493
for (int i = 1; i < 7; i++) {
494
- topLeftOffset.emplace(i, make_pair(DiceXCoords[(i-1)%3], DiceYCoords[i/4]));
+ //topLeftOffset.emplace(i, make_pair(DiceXCoords[(i-1)%3], DiceYCoords[i/4]));
495
+ topLeftOffset.insert(make_pair(i, make_pair(DiceXCoords[(i-1)%3], DiceYCoords[i/4])));
496
}
497
498
0 commit comments