Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/UI_view2d.h
| Context not available. | |||||
| /* scroller 'handles' hotspot radius for mouse */ | /* scroller 'handles' hotspot radius for mouse */ | ||||
| #define V2D_SCROLLER_HANDLE_SIZE (0.6f * U.widget_unit) | #define V2D_SCROLLER_HANDLE_SIZE (0.6f * U.widget_unit) | ||||
| #define V2D_MIN_SCROLLER_SIZE (50.0 * U.ui_scale) | |||||
billreynish: Isn't it U.ui_scale and not widget_scale? | |||||
JacquesLuckeUnsubmitted Not Done Inline ActionsUse UI_DPI_FAC instead of U.ui_scale. JacquesLucke: Use `UI_DPI_FAC` instead of `U.ui_scale`. | |||||
| /* ------ Define for UI_view2d_sync ----- */ | /* ------ Define for UI_view2d_sync ----- */ | ||||
| /* means copy it from another v2d */ | /* means copy it from another v2d */ | ||||
| Context not available. | |||||
Isn't it U.ui_scale and not widget_scale?