aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/bluebey-studio/src/panel.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/bluebey-studio/src/panel.js')
-rw-r--r--public/bluebey-studio/src/panel.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/public/bluebey-studio/src/panel.js b/public/bluebey-studio/src/panel.js
index 2b405bd..a0b2611 100644
--- a/public/bluebey-studio/src/panel.js
+++ b/public/bluebey-studio/src/panel.js
@@ -2076,6 +2076,13 @@ export function buildPanel(app, root) {
label: '回す速さ', min: 0.2, max: 4, step: 0.1, value: 0.8, format: (v) => v.toFixed(1),
onInput: (v) => { state.view.autoRotateSpeed = v; app.actions.refresh('view'); },
}));
+ cameraSection.add(buttons({
+ items: [{
+ id: 'recenter',
+ label: '中心をぶるべーに合わせる',
+ onClick: () => app.actions.recenterCamera?.(),
+ }],
+ }));
/* ------------------------------------------------------------------ export */