You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param targetShape the shape of the target highlight (RECTANGLE, CIRCLE, or ROUNDED_RECTANGLE).
22
22
* @param cornerRadius the corner radius for the ROUNDED_RECTANGLE shape in dp.
23
23
* @param animateToNextTarget if true, the target shape will animate smoothly from one target to the next when the index changes (only used in TargetShowcaseLayout).
24
+
* @param advanceOnTargetTapOnly when true, only taps inside the highlighted target advance/dismiss the showcase; the greeting always advances on any tap.
24
25
* @param colors the colors used to draw the overlay (and pulse for TargetShowcaseLayout), created with [ShowcaseLayoutDefaults.colors].
@@ -71,6 +73,7 @@ private const val INDEX_RESET_DELAY = 250L
71
73
* @param lineThickness thickness of the arrow line in dp.
72
74
* @param targetShape the shape of the target highlight (RECTANGLE, CIRCLE, or ROUNDED_RECTANGLE).
73
75
* @param cornerRadius the corner radius for the ROUNDED_RECTANGLE shape in dp.
76
+
* @param advanceOnTargetTapOnly when true, only taps inside the highlighted target shape advance/dismiss the showcase; taps elsewhere are ignored. The greeting/initial screen always advances on any tap. Defaults to false (tap anywhere).
74
77
* @param colors the colors used to draw the overlay, created with [ShowcaseLayoutDefaults.colors]. Pass a light [ShowcaseLayoutDefaults.Colors.overlayColor] for a dark UI.
Copy file name to clipboardExpand all lines: showcase-layout-compose/src/commonMain/kotlin/ly/com/tahaben/showcase_layout_compose/ui/TargetShowcaseLayout.kt
@@ -68,6 +70,7 @@ private const val INDEX_RESET_DELAY = 250L
68
70
* @param cornerRadius the radius of the corners when targetShape is ROUNDED_RECTANGLE.
69
71
* @param animateToNextTarget if true, the target shape will animate smoothly from one target to the next when the index changes.
70
72
* If false, the shape will shrink at the current location, then expand at the new location.
73
+
* @param advanceOnTargetTapOnly when true, only taps inside the highlighted target shape advance/dismiss the showcase; taps elsewhere are ignored. The greeting/initial screen always advances on any tap. Defaults to false (tap anywhere).
71
74
* @param colors the colors used to draw the overlay and pulse, created with [ShowcaseLayoutDefaults.colors]. Pass a light [ShowcaseLayoutDefaults.Colors.overlayColor] for a dark UI. A per-step [ShowcaseMsg.msgBackground] still takes precedence over [ShowcaseLayoutDefaults.Colors.overlayColor].
0 commit comments