Skip to content

Commit 7048faf

Browse files
authored
Merge pull request #267 from hotwired/screenshot_scale_matrix
Prevent web page screenshot scaling down in some cases
2 parents 08a7b7b + 75279be commit 7048faf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

turbo/src/main/res/layout/turbo_view.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
android:layout_height="match_parent"
3434
android:clickable="true"
3535
android:focusable="true"
36-
android:scaleType="fitStart"
36+
android:scaleType="matrix"
3737
android:visibility="gone"
3838
tools:ignore="ContentDescription" />
3939

turbo/src/main/res/layout/turbo_view_bottom_sheet.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
android:visibility="gone"
3838
android:clickable="true"
3939
android:focusable="true"
40-
android:scaleType="fitStart"
40+
android:scaleType="matrix"
4141
tools:ignore="ContentDescription" />
4242

4343
<FrameLayout

0 commit comments

Comments
 (0)