Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Vazquez <venomgfx@gmail.com>2018-11-03 06:10:48 +0300
committerPablo Vazquez <venomgfx@gmail.com>2018-11-03 06:11:04 +0300
commit3bfd2cdad6b65991affabba82543190c6d0ef7b7 (patch)
treeea1eb1898909c181f52b10e40ec1a4dc366d7ea7 /source/blender/editors/interface/interface_panel.c
parent689cf144478d13a8b956b85f40a8ae53dcb6b139 (diff)
UI: Align Panel drag widget with collapse triangle.
As pointed out by Harleya in DevTalk. Thanks!
Diffstat (limited to 'source/blender/editors/interface/interface_panel.c')
-rw-r--r--source/blender/editors/interface/interface_panel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c
index efa3c24afd0..aab580b49bd 100644
--- a/source/blender/editors/interface/interface_panel.c
+++ b/source/blender/editors/interface/interface_panel.c
@@ -579,7 +579,7 @@ static void ui_draw_panel_dragwidget(unsigned int pos, unsigned int col, const r
const int x_min = rect->xmin;
const int y_min = rect->ymin;
- const int y_ofs = max_ii(round_fl_to_int(BLI_rctf_size_y(rect) / 3.0f), px);
+ const int y_ofs = max_ii(round_fl_to_int(BLI_rctf_size_y(rect) / 2.5f), px);
const int x_ofs = y_ofs;
int i_x, i_y;