UI: Increase Area Resize Edge Hit Size
This patch increases the size of the Area BORDERPADDING a bit to make it easier to hit the edges when initiating area resizing. See D11925 for details and examples. Differential Revision: https://developer.blender.org/D11925 Reviewed by Campbell Barton
This commit is contained in:
parent
81f552e9ad
commit
84dcf12ceb
Notes:
blender-bot
2023-02-14 11:28:43 +01:00
Referenced by issue #101629, bpy.ops.object.duplicates_make_real() duplicates curve objects with geometry Referenced by issue #85373, Texture Paint N-Panel error in click detection on right-aligned buttons because margin to scroll bar is too small
|
@ -62,7 +62,7 @@ typedef enum eScreenAxis {
|
|||
#define AREAJOINTOLERANCEY (HEADERY * U.dpi_fac)
|
||||
|
||||
/* Expanded interaction influence of area borders. */
|
||||
#define BORDERPADDING (U.dpi_fac + U.pixelsize)
|
||||
#define BORDERPADDING ((2.0f * U.dpi_fac) + U.pixelsize)
|
||||
|
||||
/* area.c */
|
||||
void ED_area_data_copy(ScrArea *area_dst, ScrArea *area_src, const bool do_free);
|
||||
|
|
Loading…
Reference in New Issue