Skip to content

Commit

Permalink
Minor documentation improvements to LayerHit
Browse files Browse the repository at this point in the history
  • Loading branch information
JaffaKetchup committed Jan 11, 2024
1 parent 7af6387 commit b45cff6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/src/layer/general/hit_detection.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ import 'package:meta/meta.dart';
/// Not emitted if the hit was not over a feature.
@immutable
class LayerHit<R extends Object> {
/// `hitValues` from all features hit
/// `hitValue`s from all features hit (which have `hitValue`s defined)
///
/// Ordered in order of the features first-to-last, visually top-to-bottom.
/// If a feature is hit but has no `hitValue` defined, it will not be included.
///
/// Ordered by their corresponding feature, first-to-last, visually
/// top-to-bottom.
final List<R> hitValues;

/// Coordinates of the detected hit
Expand Down

0 comments on commit b45cff6

Please sign in to comment.