diff options
-rw-r--r-- | ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter.cc b/ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter.cc index 6b7e60b..6b91d1b 100644 --- a/ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter.cc +++ b/ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter.cc @@ -195,7 +195,7 @@ void NeuralStylusPalmDetectionFilter::Filter( PalmFilterStroke& stroke = stroke_it->second; if (end_of_stroke) { // This is a stroke that hasn't had a decision yet, so we force decide. - if (stroke.samples().size() < config.max_sample_count) { + if (stroke.samples_seen() < config.max_sample_count) { slots_to_decide.insert(slot); } |