Title: [260071] trunk/Source/WebCore
- Revision
- 260071
- Author
- [email protected]
- Date
- 2020-04-14 05:19:08 -0700 (Tue, 14 Apr 2020)
Log Message
[GTK][WPE] Scrollbar handle has no minimum size
https://bugs.webkit.org/show_bug.cgi?id=209962
Reviewed by Adrian Perez de Castro.
Set a minimum thumb length.
* platform/adwaita/ScrollbarThemeAdwaita.cpp:
(WebCore::ScrollbarThemeAdwaita::minimumThumbLength):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (260070 => 260071)
--- trunk/Source/WebCore/ChangeLog 2020-04-14 12:17:42 UTC (rev 260070)
+++ trunk/Source/WebCore/ChangeLog 2020-04-14 12:19:08 UTC (rev 260071)
@@ -1,5 +1,17 @@
2020-04-14 Carlos Garcia Campos <[email protected]>
+ [GTK][WPE] Scrollbar handle has no minimum size
+ https://bugs.webkit.org/show_bug.cgi?id=209962
+
+ Reviewed by Adrian Perez de Castro.
+
+ Set a minimum thumb length.
+
+ * platform/adwaita/ScrollbarThemeAdwaita.cpp:
+ (WebCore::ScrollbarThemeAdwaita::minimumThumbLength):
+
+2020-04-14 Carlos Garcia Campos <[email protected]>
+
[GTK] New scrollbar click behavior
https://bugs.webkit.org/show_bug.cgi?id=210002
Modified: trunk/Source/WebCore/platform/adwaita/ScrollbarThemeAdwaita.cpp (260070 => 260071)
--- trunk/Source/WebCore/platform/adwaita/ScrollbarThemeAdwaita.cpp 2020-04-14 12:17:42 UTC (rev 260070)
+++ trunk/Source/WebCore/platform/adwaita/ScrollbarThemeAdwaita.cpp 2020-04-14 12:19:08 UTC (rev 260071)
@@ -40,6 +40,7 @@
static const unsigned hoveredScrollbarBorderSize = 1;
static const unsigned thumbBorderSize = 1;
static const unsigned overlayThumbSize = 5;
+static const unsigned minimumThumbSize = 40;
static const unsigned thumbSize = 6;
static const double scrollbarOpacity = 0.8;
static const Color scrollbarBackgroundColor = makeRGB(252, 252, 252);
@@ -67,7 +68,7 @@
int ScrollbarThemeAdwaita::minimumThumbLength(Scrollbar&)
{
- return 0;
+ return minimumThumbSize;
}
bool ScrollbarThemeAdwaita::hasButtons(Scrollbar&)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes