diff options
author | George Vogiatzis <Gvgeo> | 2019-04-03 15:53:57 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2019-04-03 16:01:05 +0300 |
commit | 822c67364e85f1092c25cdd5ab9d68c515deb09d (patch) | |
tree | 654c29f5c4649bbf6ac83f06a5ecf12873d7fbba /source/blender/makesdna/DNA_screen_types.h | |
parent | e2d5ccf5983732fb6aacbef8aa1f06a33dec7ea6 (diff) |
UI: Fix odd behavior in region sizing, simplify code
* When resizing sidebars, don't collapse when the region becomes too big but
instead clamp the region size to the available space.
* Fix clicking the tab to expand sidebars no working if the sidebar is too
wide to fit. Instead make it less wide so it does fit.
* Fix incorrect limit on tool properties region height, for example in the
file browser.
Differential Revision: https://developer.blender.org/D4611
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_screen_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index 41999a95cf8..fb111fad335 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -609,6 +609,7 @@ enum { #define RGN_ALIGN_VSPLIT 6 #define RGN_ALIGN_FLOAT 7 #define RGN_ALIGN_QSPLIT 8 +#define RGN_ALIGN_ENUM_MASK 0x0F #define RGN_SPLIT_PREV 32 |