forked from noxious/client
Image quality bs
This commit is contained in:
@ -6,10 +6,7 @@ export function useCameraControls(scene: Phaser.Scene): any {
|
||||
const gameStore = useGameStore()
|
||||
const zoneStore = useZoneStore()
|
||||
const camera = scene.cameras.main
|
||||
|
||||
// Might improve image quality
|
||||
camera.setRoundPixels(true)
|
||||
|
||||
|
||||
function onPointerDown(pointer: Phaser.Input.Pointer) {
|
||||
gameStore.setPlayerDraggingCamera(true)
|
||||
}
|
||||
|
Reference in New Issue
Block a user