Skip to content

Commit

Permalink
camera fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Legendaxe committed Nov 2, 2023
1 parent f0054bf commit 869e9fe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tgui/packages/tgui/components/NanoMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,19 +120,19 @@ export class NanoMap extends Component {
'position': 'relative',
'background-size': 'cover',
'background-repeat': 'no-repeat',
'background-image': 'url(' + mapUrl + ')',
'text-align': 'center',
'cursor': dragging ? 'move' : 'auto',
'-ms-interpolation-mode': 'nearest-neighbor',
};

return (
<Box className="NanoMap__container">
<Box>
<img
src={mapUrl}
style={newStyle}
onMouseDown={this.handleDragStart}
/>
<Box
style={newStyle}
textAlign="center"
onMouseDown={this.handleDragStart}
>
<Box>{children}</Box>
</Box>
<NanoMapZoomer zoom={zoom} onZoom={this.handleZoom} />
Expand Down

0 comments on commit 869e9fe

Please sign in to comment.