[Bf-blender-cvs] [baf3887207b] master: UI: Smaller minimum size of scrollbar

Eitan noreply at git.blender.org
Fri Jul 5 09:46:39 CEST 2019


Commit: baf3887207beb1c5e1393387d9e592032259ae77
Author: Eitan
Date:   Fri Jul 5 09:43:13 2019 +0200
Branches: master
https://developer.blender.org/rBbaf3887207beb1c5e1393387d9e592032259ae77

UI: Smaller minimum size of scrollbar

Differential Revision: https://developer.blender.org/D5086

===================================================================

M	source/blender/editors/include/UI_view2d.h

===================================================================

diff --git a/source/blender/editors/include/UI_view2d.h b/source/blender/editors/include/UI_view2d.h
index 137c431e3bf..0dbf3c710d6 100644
--- a/source/blender/editors/include/UI_view2d.h
+++ b/source/blender/editors/include/UI_view2d.h
@@ -71,7 +71,7 @@ enum eView2D_CommonViewTypes {
 #define V2D_SCROLL_HANDLE_SIZE_HOTSPOT (0.6f * U.widget_unit)
 
 /** Don't allow scroll thumb to show below this size (so it's never too small to click on). */
-#define V2D_SCROLL_THUMB_SIZE_MIN (50.0 * UI_DPI_FAC)
+#define V2D_SCROLL_THUMB_SIZE_MIN (30.0 * UI_DPI_FAC)
 
 /* ------ Define for UI_view2d_sync ----- */



More information about the Bf-blender-cvs mailing list