mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-04-06 17:31:09 +08:00
Change form linked ratio to update ratio when enabling link
This commit is contained in:
parent
c51a420178
commit
458a8bf7f2
@ -348,8 +348,9 @@ class InputForm extends EventSystem {
|
||||
linked_ratio_toggle.addEventListener('click', event => {
|
||||
data.linked_ratio = !data.linked_ratio;
|
||||
if (data.linked_ratio) {
|
||||
updateInputs(vector_inputs[0]);
|
||||
scope.updateValues();
|
||||
initial_value = vector_inputs.map(v => v.value);
|
||||
// updateInputs(vector_inputs[0]);
|
||||
// scope.updateValues();
|
||||
}
|
||||
updateState();
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user