Skip to content

Commit

Permalink
fix: 뷰포트 사이즈 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
junseok44 committed Jun 14, 2024
1 parent 3b6e14b commit f0dd46c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion sketch.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function preload() {
}

function setup() {
let canvas = createCanvas(1000, 1000);
let canvas = createCanvas(800, 800);
canvas.parent("myCanvas");

stroke(0);
Expand Down
8 changes: 4 additions & 4 deletions system/System.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ class System {
};

static controllerPosition = {
q: { x: 350, y: 950 },
w: { x: 450, y: 950 },
e: { x: 550, y: 950 },
r: { x: 650, y: 950 },
q: { x: 250, y: 750 },
w: { x: 350, y: 750 },
e: { x: 450, y: 750 },
r: { x: 550, y: 750 },
};

static keyCodeMap = {
Expand Down
4 changes: 2 additions & 2 deletions system/YouTubePlayer.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class YouTubePlayer {
constructor() {
this.videoId = null;
this.width = 1000;
this.height = 1000;
this.width = 800;
this.height = 800;
this.YTplayer = null;

const tag = document.createElement("script");
Expand Down

0 comments on commit f0dd46c

Please sign in to comment.