Don't reset threashold when resetting color mode (#932)

* don't reset threshold when changing modes

* updated docs
This commit is contained in:
Peli de Halleux authored and GitHub committed 2019-10-01 13:27:37 -07:00
1 parent d179f18ef3
commit f745079728
3 files changed
+9 -11

No files matched your search

+4 -4
View File
@@ -814,10 +814,10 @@ namespace sensors {
export class ThresholdDetector {
public id: number;
public min: number;
public max: number;
public lowThreshold: number;
public highThreshold: number;
private min: number;
private max: number;
private lowThreshold: number;
private highThreshold: number;
public level: number;
public state: ThresholdState;