forked from firka/flutter
Fixed large amount of spelling errors (#83744)
This commit is contained in:
@@ -35,7 +35,7 @@ class BenchDynamicClipOnStaticPicture extends SceneBuilderRecorder {
|
||||
BenchDynamicClipOnStaticPicture() : super(name: benchmarkName) {
|
||||
// If the scrollable extent is too small, the benchmark may end up
|
||||
// scrolling the picture out of the clip area entirely, resulting in
|
||||
// bogus metric vaules.
|
||||
// bogus metric values.
|
||||
const double maxScrollExtent = kTotalSampleCount * kScrollDelta;
|
||||
const double pictureHeight = kRows * kRowHeight;
|
||||
if (maxScrollExtent > pictureHeight) {
|
||||
|
||||
@@ -245,7 +245,7 @@ class TimeseriesVisualization {
|
||||
final AnnotatedSample sample = _stats.samples[i];
|
||||
|
||||
if (sample.isWarmUpValue) {
|
||||
// Put gray background behing warm-up samples.
|
||||
// Put gray background behind warm-up samples.
|
||||
_ctx.fillStyle = 'rgba(200,200,200,1)';
|
||||
_ctx.fillRect(xOffset, 0, barWidth, _normalized(_maxValueChartRange));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user