Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DOOM committed Jul 2, 2023
1 parent 5ef3526 commit 3d22bbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion tgui/packages/tgui/interfaces/CanvasLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export class CanvasLayer extends Component {

if (selection === 'export') {
this.props.onImageExport(
String(this.canvasRef.current.toDataURL('image/jpeg', 0.4))
String(this.canvasRef.current.toDataURL('image/jpeg', 0.5))
);

return;
Expand Down
12 changes: 2 additions & 10 deletions tgui/packages/tgui/interfaces/TacticalMap.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
import { useBackend } from '../backend';
import {
Button,
Dropdown,
Section,
Stack,
ProgressBar,
Box,
} from '../components';
import { Button, Dropdown, Section, Stack, ProgressBar, Box } from '../components';
import { Window } from '../layouts';
import { CanvasLayer } from './CanvasLayer';

Expand Down Expand Up @@ -144,8 +137,7 @@ export const TacticalMap = (props, context) => {
good: [-Infinity, 0.33],
average: [0.33, 0.67],
bad: [0.67, Infinity],
}}
>
}}>
<Box textAlign="center" fontSize="15px">
{Math.ceil(timeLeft / 10)} seconds until the canvas changes
can be updated
Expand Down

0 comments on commit 3d22bbd

Please sign in to comment.