mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
browser(webkit): hide scroll bars (#10300)
This commit is contained in:
parent
65a9037461
commit
284de78deb
@ -1,2 +1,2 @@
|
|||||||
1577
|
1578
|
||||||
Changed: dpino@igalia.com Thu 11 Nov 2021 07:04:56 AM UTC
|
Changed: pavel.feldman@gmail.com Sat, Nov 13, 2021 4:33:41 AM
|
||||||
|
@ -8357,6 +8357,20 @@ index c5445385a77ac12c09ef24866473d62cb679455a..392b3825d81e53f020ef7276ec7681a4
|
|||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
} // namespace WebCore
|
} // namespace WebCore
|
||||||
|
diff --git a/Source/WebCore/platform/win/ScrollbarThemeWin.cpp b/Source/WebCore/platform/win/ScrollbarThemeWin.cpp
|
||||||
|
index e89ec9d83d8abc141938716f24eaba061a085af3..6005d02b9bf20ef2cbf9382fdf50c863952c8db5 100644
|
||||||
|
--- a/Source/WebCore/platform/win/ScrollbarThemeWin.cpp
|
||||||
|
+++ b/Source/WebCore/platform/win/ScrollbarThemeWin.cpp
|
||||||
|
@@ -114,8 +114,7 @@ static int scrollbarThicknessInPixels()
|
||||||
|
|
||||||
|
int ScrollbarThemeWin::scrollbarThickness(ScrollbarControlSize, ScrollbarExpansionState)
|
||||||
|
{
|
||||||
|
- float inverseScaleFactor = 1.0f / deviceScaleFactorForWindow(0);
|
||||||
|
- return clampTo<int>(inverseScaleFactor * scrollbarThicknessInPixels());
|
||||||
|
+ return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ScrollbarThemeWin::themeChanged()
|
||||||
diff --git a/Source/WebCore/platform/wpe/DragDataWPE.cpp b/Source/WebCore/platform/wpe/DragDataWPE.cpp
|
diff --git a/Source/WebCore/platform/wpe/DragDataWPE.cpp b/Source/WebCore/platform/wpe/DragDataWPE.cpp
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000000000000000000000000000000000000..07fb260a5203167fdf94a552949394bb73ca8c61
|
index 0000000000000000000000000000000000000000..07fb260a5203167fdf94a552949394bb73ca8c61
|
||||||
|
Loading…
x
Reference in New Issue
Block a user