diff options
author | Ton Roosendaal <ton@blender.org> | 2013-01-11 19:19:47 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2013-01-11 19:19:47 +0400 |
commit | 2f4cc3530da0496b58a856849bd9fc6954e138be (patch) | |
tree | bc2c6c7054800f23ce3aa1a0f432fdb959911e5c /source | |
parent | d1d3384750fd310e04aebb1c6e5b603dfd6a2e37 (diff) |
Bug fix #33826
Post 2.65a issue
Now scrollbars appear/disappear correctly, a bug in checking if mouse clicks
where on panel headers popped up. That disabled using scrollers next to a
panel header.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface_panel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index 9fbf2fe8898..1df10f962b6 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -1157,6 +1157,8 @@ int ui_handler_panel_region(bContext *C, wmEvent *event) if (block->rect.xmin <= mx && block->rect.xmin + PNL_HEADER >= mx) inside_header = 1; } + else if (block->rect.xmin > mx || block->rect.xmax < mx); + /* outside left/right side */ else if ((block->rect.ymax <= my) && (block->rect.ymax + PNL_HEADER >= my)) { inside_header = 1; } |