File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -939,7 +939,7 @@ def motion_camera_ui_to_dict(ui, prev_config=None):
939939
940940 if ui ['mask' ]:
941941 if ui ['mask_type' ] == 'smart' :
942- data ['smart_mask_speed' ] = 10 - int (ui ['smart_mask_sluggishness' ])
942+ data ['smart_mask_speed' ] = 11 - int (ui ['smart_mask_sluggishness' ])
943943
944944 elif ui ['mask_type' ] == 'editable' :
945945 capture_width , capture_height = data .get ('width' ), data .get ('height' )
@@ -1357,7 +1357,7 @@ def motion_camera_dict_to_ui(data):
13571357 elif data ['smart_mask_speed' ]:
13581358 ui ['mask' ] = True
13591359 ui ['mask_type' ] = 'smart'
1360- ui ['smart_mask_sluggishness' ] = 10 - data ['smart_mask_speed' ]
1360+ ui ['smart_mask_sluggishness' ] = 11 - data ['smart_mask_speed' ]
13611361
13621362 # working schedule
13631363 working_schedule = data ['@working_schedule' ]
You can’t perform that action at this time.
0 commit comments