Skip to content

Commit c6d687e

Browse files
committed
f
1 parent 63ca9bd commit c6d687e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ <h2>Our Vision & Technology | 비전과 기술</h2>
150150

151151
const nameSection = document.getElementById("team_name");
152152

153-
let zoom = 3;
154-
const ZOOM_SPEED = 2;
153+
let zoom = 4;
154+
const ZOOM_SPEED = 3;
155155

156156
// 휠 이벤트 처리
157157
document.addEventListener("wheel", function (e) {
@@ -176,12 +176,12 @@ <h2>Our Vision & Technology | 비전과 기술</h2>
176176
document.addEventListener("touchmove", function (e) {
177177
touchEndY = e.touches[0].clientY;
178178

179-
if (zoom < 80) {
179+
if (zoom < 90) {
180180
if (touchStartY > touchEndY) {
181181
zoom += ZOOM_SPEED;
182182
nameSection.style.transform = `scale(${zoom})`;
183183
}
184-
} else if (zoom >= 80) {
184+
} else if (zoom >= 90) {
185185
nameSection.classList.add("zoomed");
186186
}
187187
});

0 commit comments

Comments
 (0)