Support fractional tuning parameters (fixes #112).

This commit is contained in:
Nadine Salter
2014-11-18 13:45:51 -08:00
parent ee3aec42a2
commit 38f8e63b01
3 changed files with 6 additions and 6 deletions

View File

@@ -60,8 +60,8 @@ need to be pruned quickly.
```objective-c
ASRangeController *rangeController = [[ASRangeController alloc] init];
rangeController.tuningParameters = (ASRangeTuningParameters){
.leadingBufferScreenfuls = 2; // two screenfuls in the direction of scroll
.trailingBufferScreenfuls = 1; // one screenful in the other direction
.leadingBufferScreenfuls = 2.0f; // two screenfuls in the direction of scroll
.trailingBufferScreenfuls = 0.5f; // one-half screenful in the other direction
};
```