diff options
| author | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-22 23:13:46 +0900 |
|---|---|---|
| committer | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-22 23:13:46 +0900 |
| commit | 6258fcb99337aa596f576a9275a867e0b9b2841f (patch) | |
| tree | e4a43023543b3e447f3285fe7b0b121ee40e0e46 /public/bluebey-studio/src | |
| parent | 8907e88a6c66bf57f9117aa33d2c1ed4f00844e6 (diff) | |
bluebey-studio: Shift+ドラッグ縦の移動方向をカーソルに合わせる
Diffstat (limited to 'public/bluebey-studio/src')
| -rw-r--r-- | public/bluebey-studio/src/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/bluebey-studio/src/main.js b/public/bluebey-studio/src/main.js index 05fba42..f3db446 100644 --- a/public/bluebey-studio/src/main.js +++ b/public/bluebey-studio/src/main.js @@ -2406,7 +2406,7 @@ async function init() { modelDrag.lastY = event.clientY; const root = state.pose.root ?? (state.pose.root = [0, 0, 0]); root[0] = (root[0] ?? 0) + stepX * k; - const lift = -stepY * k; + const lift = stepY * k; view.target.y += lift; for (const controls of Object.values(view.controlsMap ?? {})) controls.target.y += lift; for (const cam of Object.values(view.cameras ?? {})) cam.position.y += lift; |
