RoborockZoneCleaningCapability could use Math.max and Math.min #1514
Locked
Flole998
announced in
zzz_Archive
Replies: 1 comment
-
Indeed. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
RIght now at in the code there is this:
Valetudo/backend/lib/robots/roborock/capabilities/RoborockZoneCleaningCapability.js
Line 25 in fe65df3
Essentially this (and the following lines) are just own implementations of Math.max and Math.min. For better readability I suggest changing those to Math.max and Math.min.
Beta Was this translation helpful? Give feedback.
All reactions