Skip to content

Commit

Permalink
Update the doc comment of floatingPanelDidEndDragging method
Browse files Browse the repository at this point in the history
  • Loading branch information
scenee committed Aug 20, 2023
1 parent eda7201 commit a13d053
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Sources/Controller.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@ import os.log

/// Called on finger up if the user dragged.
///
/// If `attract` is true, it will continue moving afterwards to a nearby state anchor.
/// If `attract` is true, the panel continues moving towards the nearby state
/// anchor. Otherwise, it stops at the closest state anchor.
///
/// - Note: If `attract` is false, ``FloatingPanelController.state`` property has
/// already changed to the closest anchor's state by the time this delegate method
/// is called.
@objc optional
func floatingPanelDidEndDragging(_ fpc: FloatingPanelController, willAttract attract: Bool)

Expand Down

0 comments on commit a13d053

Please sign in to comment.