Skip to content

Commit

Permalink
Convert speed value as well when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
walidkayhan committed Feb 22, 2024
1 parent c7e4cb7 commit 1b8ed9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/containers/Preferences/General/JoggingPresets.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export default class JoggingPresets extends Component {

const xyValue = units === METRIC_UNITS ? preset?.xyStep : convertToImperial(preset?.xyStep);
const zValue = units === METRIC_UNITS ? preset?.zStep : convertToImperial(preset?.zStep);
const speedValue = preset?.feedrate;
const speedValue = units === METRIC_UNITS ? preset?.feedrate : convertToImperial(preset?.feedrate);

return (
<Fieldset legend="Jogging Presets">
Expand Down

0 comments on commit 1b8ed9a

Please sign in to comment.