Skip to content

Commit

Permalink
algunas unidades a forms
Browse files Browse the repository at this point in the history
  • Loading branch information
FaberGG committed Oct 25, 2024
1 parent 26440b2 commit e31aae6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/components/ControlsForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -255,15 +255,15 @@ export const ControlsForm = ({
<form className="controls-form-inputs-form">
{/* {renderDegRadSelect()} */}
<FormInput
label="Posición inicial"
label="Posición inicial (rad)"
value={initConditions.position}
name="position"
onChange={(name, value) => handleInitConditionChange(name, value)}
disabled={isAnimating}
/>

<FormInput
label="Velocidad inicial"
label="Velocidad inicial (rad/s)"
value={initConditions.velocity}
name="velocity"
onChange={(name, value) => handleInitConditionChange(name, value)}
Expand All @@ -275,7 +275,7 @@ export const ControlsForm = ({
<>
<label htmlFor="">Péndulo 2</label>
<FormInput
label="Posición inicial"
label="Posición inicial (rad)"
value={initConditions.position2}
name="position2"
onChange={(name, value) =>
Expand All @@ -285,7 +285,7 @@ export const ControlsForm = ({
/>

<FormInput
label="Velocidad inicial"
label="Velocidad inicial (rad/s)"
value={
inDegrees
? initConditions.velocity2 * (180 / Math.PI)
Expand Down Expand Up @@ -322,14 +322,14 @@ export const ControlsForm = ({
<FormInput
label={
motionType === "forcedUndamped" || motionType === "forcedDamped"
? "Potencia"
? "Potencia "
: "Energía (J)"
}
value={timeVariables.energy}
disabled={true}
/>
<FormInput
label="Amplitud"
label="Amplitud (θ)"
value={timeVariables.amplitude}
disabled={true}
/>
Expand All @@ -339,12 +339,12 @@ export const ControlsForm = ({
disabled={true}
/>
<FormInput
label="Periodo"
label="Periodo (T)"
value={variables.period}
disabled={true}
/>
<FormInput
label="Frecuencia"
label="Frecuencia (f)"
value={variables.frecuency}
disabled={true}
/>
Expand All @@ -363,7 +363,7 @@ export const ControlsForm = ({
disabled={true}
/>
<FormInput
label="Amplitud 2"
label="Amplitudes 2 "
value={timeVariables.amplitude2}
disabled={true}
/>
Expand All @@ -373,7 +373,7 @@ export const ControlsForm = ({
disabled={true}
/>
<FormInput
label="Periodo Péndulo 2"
label="Periodo (T) Péndulo 2"
value={variables.period2}
disabled={true}
/>
Expand Down

0 comments on commit e31aae6

Please sign in to comment.