Skip to content

Commit

Permalink
Configuration: improve position reset.
Browse files Browse the repository at this point in the history
  • Loading branch information
kosua20 committed Sep 20, 2023
1 parent 93ae983 commit 28f1b52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers/Configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ Configuration::Configuration(const std::string& path, const std::vector<std::str

// Ensure the window is visible on screen.
if(windowPos[0] + windowSize[0] < 0){
windowPos[0] = 0.f;
windowPos[0] = 32.f;
}
if(windowPos[1] + windowSize[1] < 0){
windowPos[1] = 0.f;
windowPos[1] = 32.f;
}

}
Expand Down

0 comments on commit 28f1b52

Please sign in to comment.