Skip to content

Commit

Permalink
Hide API which we shouldn't have been public
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbanes committed Oct 1, 2024
1 parent c2f957f commit 8d6bf27
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions haze/api/api.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
// Signature format: 4.0
package dev.chrisbanes.haze {

public final class CanvasKt {
method public static inline void translate(androidx.compose.ui.graphics.drawscope.DrawScope, long offset, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> block);
}

public final class HazeChildKt {
method @Deprecated public static androidx.compose.ui.Modifier hazeChild(androidx.compose.ui.Modifier, dev.chrisbanes.haze.HazeState state, androidx.compose.ui.graphics.Shape shape, dev.chrisbanes.haze.HazeStyle style);
method public static androidx.compose.ui.Modifier hazeChild(androidx.compose.ui.Modifier, dev.chrisbanes.haze.HazeState state, dev.chrisbanes.haze.HazeStyle style);
Expand Down
2 changes: 1 addition & 1 deletion haze/src/commonMain/kotlin/dev/chrisbanes/haze/Canvas.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal inline fun GraphicsContext.useGraphicsLayer(block: (GraphicsLayer) -> U
}
}

inline fun DrawScope.translate(
internal inline fun DrawScope.translate(
offset: Offset,
block: DrawScope.() -> Unit,
) {
Expand Down

0 comments on commit 8d6bf27

Please sign in to comment.