Skip to content

Commit 68a3225

Browse files
committed
remove unused if statement
1 parent 3bc5e10 commit 68a3225

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/app/src/runner/SpecRunner.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,6 @@ const viewportStyle = computed(() => {
159159
scale = 1
160160
} else {
161161
scale = Math.min(containerWidth.value / autStore.viewportDimensions.width, containerHeight.value / autStore.viewportDimensions.height, 1)
162-
if (scale > 1) {
163-
scale = 1
164-
}
165162
}
166163
167164
return `

0 commit comments

Comments
 (0)