Skip to content

Commit

Permalink
Tweak: Autocenter nanomap
Browse files Browse the repository at this point in the history
  • Loading branch information
dj-34 committed Nov 9, 2023
1 parent 6645a01 commit 7a21404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tgui/packages/tgui/components/NanoMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class NanoMap extends Component {
super(props);

// Auto center based on window size
const Xcenter = window.innerWidth / 2 - 256;
const Xcenter = 0;
const Ycenter = window.innerHeight / 2 - 256;

this.state = {
Expand Down

0 comments on commit 7a21404

Please sign in to comment.