|
|
@ -9,6 +9,7 @@ import org.jetbrains.compose.common.ui.unit.implementation |
|
|
|
import androidx.compose.foundation.layout.offset |
|
|
|
import androidx.compose.foundation.layout.offset |
|
|
|
|
|
|
|
|
|
|
|
@Composable |
|
|
|
@Composable |
|
|
|
|
|
|
|
@OptIn(ExperimentalComposeWebWidgetsApi::class) |
|
|
|
actual fun Modifier.position(width: Dp, height: Dp): Modifier = castOrCreate().apply { |
|
|
|
actual fun Modifier.position(width: Dp, height: Dp): Modifier = castOrCreate().apply { |
|
|
|
modifier = modifier.offset(width.implementation, height.implementation) |
|
|
|
modifier = modifier.offset(width.implementation, height.implementation) |
|
|
|
} |
|
|
|
} |
|
|
|