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
path: root/source
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2018-06-11 17:48:59 +0300
committerJoshua Leung <aligorith@gmail.com>2018-06-11 17:49:12 +0300
commit17ee4836aba26934e2bb93b27bc77d4b7293133d (patch)
tree6769047592db50ef4fe69737182a02f081d26d36 /source
parent204c167c72fe20448200dc0a1504a84762ffd926 (diff)
Fix: Remove UI_BLOCK_MOVEMOUSE_QUIT from popovers
This was causing driver editing popovers to just keep disappearing whenever you accidentally moved the mouse away, making the popovers there nearly useless. After testing with the other popovers we have in other places, I don't really see why we needed this flag enabled in the first place. You can still switch between popovers in the topbar by mousing over the others, and if you want to dismiss without clicking to escape, you can go over a standard menu instead OR just move back towards the button that spawned it. Let's just test this out for a while and see how it goes. Maybe we don't need a more invasive solution here...
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/interface/interface_region_popover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_region_popover.c b/source/blender/editors/interface/interface_region_popover.c
index c681cfe776f..e769d367b45 100644
--- a/source/blender/editors/interface/interface_region_popover.c
+++ b/source/blender/editors/interface/interface_region_popover.c
@@ -135,7 +135,7 @@ static uiBlock *ui_block_func_POPOVER(bContext *C, uiPopupBlockHandle *handle, v
UI_block_region_set(block, handle->region);
UI_block_layout_resolve(block, &width, &height);
- UI_block_flag_enable(block, UI_BLOCK_MOVEMOUSE_QUIT | UI_BLOCK_KEEP_OPEN | UI_BLOCK_POPOVER);
+ UI_block_flag_enable(block, UI_BLOCK_KEEP_OPEN | UI_BLOCK_POPOVER);
#ifdef USE_UI_POPOVER_ONCE
if (pup->is_once) {
UI_block_flag_enable(block, UI_BLOCK_POPOVER_ONCE);