gaesup-world 0.9.55 → 0.9.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useContext } from "react";
|
|
3
3
|
import { GaesupWorldContext } from "../../world/context";
|
|
4
4
|
import GamePadButton from "./GamePadButton";
|
|
5
|
-
import * as S from "./style.css
|
|
5
|
+
import * as S from "./style.css";
|
|
6
6
|
import { gameBoyDirectionType, gamepadType } from "./type";
|
|
7
7
|
|
|
8
8
|
export const gamepadDefault = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useCallback, useContext, useState } from "react";
|
|
3
3
|
|
|
4
4
|
import { GaesupWorldContext } from "../../world/context";
|
|
5
|
-
import * as S from "./style.css
|
|
5
|
+
import * as S from "./style.css";
|
|
6
6
|
|
|
7
7
|
// X 축은 동(+) 서(-) 방향, 즉 경도를 나타낸다.
|
|
8
8
|
// Z 축은 남(+) 북(-) 방향, 즉 위도를 나타낸다.
|
package/package.json
CHANGED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// style.css.ts
|
|
2
|
-
import { style } from "@vanilla-extract/css";
|
|
3
|
-
|
|
4
|
-
export const ridable = style({
|
|
5
|
-
display: "flex",
|
|
6
|
-
justifyContent: "center",
|
|
7
|
-
alignItems: "center",
|
|
8
|
-
textAlign: "center",
|
|
9
|
-
margin: "1rem",
|
|
10
|
-
fontSize: "0.8rem",
|
|
11
|
-
borderRadius: "50%",
|
|
12
|
-
width: "5rem",
|
|
13
|
-
height: "5rem",
|
|
14
|
-
color: "white",
|
|
15
|
-
background: "rgba(0, 0, 0, 0.6)",
|
|
16
|
-
boxShadow: "0 0 5px 0 rgba(0, 0, 0, 0.6)",
|
|
17
|
-
transition: "all 0.2s ease-in",
|
|
18
|
-
cursor: "pointer",
|
|
19
|
-
});
|