File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -301,6 +301,11 @@ settings:
301301 开启后,W S A D按键的移动视角方向会相反
302302 原本的移动逻辑是移动悬浮在画面上的摄像机,但如果看成是移动画布,这样就反了
303303 于是就有了这个选项
304+ cameraResetViewPaddingRate :
305+ title : 视野重置时,边缘留白系数
306+ description : |
307+ 值为1 表示边缘完全不留白。
308+ 值为2 表示留白内容恰好为自身内容的一倍
304309 allowAddCycleEdge :
305310 title : 允许在节点之间添加自环
306311 description : |
Original file line number Diff line number Diff line change @@ -58,6 +58,14 @@ export default function Control() {
5858
5959 < FieldGroup title = "Camera 摄像机/视野/相关" icon = { < Fullscreen /> } >
6060 < SettingField icon = { < ScanEye /> } settingKey = "scaleExponent" type = "slider" min = { 0 } max = { 1 } step = { 0.01 } />
61+ < SettingField
62+ icon = { < Fullscreen /> }
63+ settingKey = "cameraResetViewPaddingRate"
64+ type = "slider"
65+ min = { 1 }
66+ max = { 2 }
67+ step = { 0.05 }
68+ />
6169 < SettingField
6270 icon = { < ScanEye /> }
6371 settingKey = "cameraKeyboardScaleRate"
You can’t perform that action at this time.
0 commit comments