Skip to content

Commit

Permalink
Modify the doc comment of 'floatingPanel(_:shouldAllowToScroll:in:)'
Browse files Browse the repository at this point in the history
  • Loading branch information
scenee committed Oct 8, 2023
1 parent 4996ce1 commit 046ed3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/Controller.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ import os.log
/// return state == .full || state == .half
/// }
/// ```
///
/// - Attention: It is recommended that this method always returns the most expanded state(i.e.
/// .full). If it excludes the state, the panel might do unexpected behaviors.
@objc(floatingPanel:shouldAllowToScroll:in:)
optional func floatingPanel(
_ fpc: FloatingPanelController,
Expand Down

0 comments on commit 046ed3d

Please sign in to comment.