You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: common/src/main/kotlin/com/lambda/module/modules/render/ViewModel.kt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -29,23 +29,23 @@ object ViewModel : Module(
29
29
val swapAnimation by setting("Swap Animation", true, "If disabled, it removes the drop down animation when swapping item", visibility = { page ==Page.General })
30
30
val shadow by setting("Shadows", true, "If disabled, it removes shadows on the model", visibility = { page ==Page.General })
31
31
32
-
privateval linkedScale by setting("Linked", true, "Links both hands scale settings", visibility = { page ==Page.Scale })
32
+
privateval linkedScale by setting("Linked Scale", true, "Links both hands scale settings", visibility = { page ==Page.Scale })
33
33
privateval leftXScale by setting("Left X Scale", 1.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Scale }).apply { onValueChange { _, to ->if (linkedScale) rightXScale = to } }
34
34
privateval leftYScale by setting("Left Y Scale", 1.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Scale }).apply { onValueChange { _, to ->if (linkedScale) rightYScale = to } }
35
35
privateval leftZScale by setting("Left Z Scale", 1.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Scale }).apply { onValueChange { _, to ->if (linkedScale) rightZScale = to } }
36
36
privatevar rightXScale by setting("Right X Scale", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Scale&&!linkedScale })
37
37
privatevar rightYScale by setting("Right Y Scale", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Scale&&!linkedScale })
38
38
privatevar rightZScale by setting("Right Z Scale", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Scale&&!linkedScale })
39
39
40
-
privateval linkedPosition by setting("Linked", true, "Links both hands position settings", visibility = { page ==Page.Position })
40
+
privateval linkedPosition by setting("Linked Position", true, "Links both hands position settings", visibility = { page ==Page.Position })
41
41
privateval leftXPosition by setting("Left X Position", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Position }).apply { onValueChange { _, to ->if (linkedPosition) rightXPosition = to } }
42
42
privateval leftYPosition by setting("Left Y Position", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Position }).apply { onValueChange { _, to ->if (linkedPosition) rightYPosition = to } }
43
43
privateval leftZPosition by setting("Left Z Position", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Position }).apply { onValueChange { _, to ->if (linkedPosition) rightZPosition = to } }
44
44
privatevar rightXPosition by setting("Right X Position", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Position&&!linkedPosition })
45
45
privatevar rightYPosition by setting("Right Y Position", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Position&&!linkedPosition })
46
46
privatevar rightZPosition by setting("Right Z Position", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Position&&!linkedPosition })
47
47
48
-
privateval linkedRotation by setting("Linked", true, "Links both hands rotation settings", visibility = { page ==Page.Rotation })
48
+
privateval linkedRotation by setting("Linked Rotation", true, "Links both hands rotation settings", visibility = { page ==Page.Rotation })
49
49
privateval leftXRotation by setting("Left X Rotation", 0, -180..180, 1, visibility = { page ==Page.Rotation }).apply { onValueChange { _, to ->if (linkedRotation) rightXRotation = to } }
50
50
privateval leftYRotation by setting("Left Y Rotation", 0, -180..180, 1, visibility = { page ==Page.Rotation }).apply { onValueChange { _, to ->if (linkedRotation) rightYRotation = to } }
51
51
privateval leftZRotation by setting("Left Z Rotation", 0, -180..180, 1, visibility = { page ==Page.Rotation }).apply { onValueChange { _, to ->if (linkedRotation) rightZRotation = to } }
0 commit comments