File tree Expand file tree Collapse file tree 2 files changed +24
-7
lines changed
minesweeper-ui/src/main/java/com/jayasuryat/minesweeperui/grid Expand file tree Collapse file tree 2 files changed +24
-7
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,14 @@ public fun Minefield(
52
52
savableState.value = zoomState
53
53
54
54
MineGrid (
55
- modifier = modifier.then(Modifier .graphicsLayer {
56
- scaleX = zoomState.scale
57
- scaleY = zoomState.scale
58
- translationX = zoomState.translationX
59
- translationY = zoomState.translationY
60
- }),
55
+ modifier = modifier.then(
56
+ Modifier .graphicsLayer {
57
+ scaleX = zoomState.scale
58
+ scaleY = zoomState.scale
59
+ translationX = zoomState.translationX
60
+ translationY = zoomState.translationY
61
+ }
62
+ ),
61
63
gridInfo = gridInfo,
62
64
actionListener = actionListener,
63
65
)
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2022 Jaya Surya Thotapalli
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
package com.jayasuryat.minesweeperui.grid
2
17
3
18
import android.os.Parcelable
@@ -10,4 +25,4 @@ internal data class ZoomPanState(
10
25
val scale : Float ,
11
26
val translationX : Float ,
12
27
val translationY : Float ,
13
- ) : Parcelable
28
+ ) : Parcelable
You can’t perform that action at this time.
0 commit comments