Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierZal committed Sep 18, 2024
1 parent a75eb57 commit b9ed501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/facades/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ export default abstract class<
Math.min(newMin, temperatureRange.max - TEMPERATURE_GAP),
)
newMax = Math.min(
Math.max(newMax, temperatureRange.min + TEMPERATURE_GAP),
temperatureRange.max,
Math.max(newMax, temperatureRange.min + TEMPERATURE_GAP),
)
if (newMax - newMin < TEMPERATURE_GAP) {
newMax = newMin + TEMPERATURE_GAP
Expand Down

0 comments on commit b9ed501

Please sign in to comment.