diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-07-11 13:30:48 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-07-11 13:35:44 +0300 |
commit | 3eab8156d369f40de9d8c23672b1de28491ea920 (patch) | |
tree | fce85996a1f5d5ef43cb3cd092faabc2df7e46fa /source/blender/makesdna/DNA_view2d_types.h | |
parent | fdc0f4ad90973d43ccdf4892821dfc82c3ab3329 (diff) |
UI: don't change scrollbar size on mouse move, only fade.
It's not necessary to do both, and trying to hit a target that changes
size is annoying.
Diffstat (limited to 'source/blender/makesdna/DNA_view2d_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_view2d_types.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_view2d_types.h b/source/blender/makesdna/DNA_view2d_types.h index ebeb639e8aa..e2d8d836368 100644 --- a/source/blender/makesdna/DNA_view2d_types.h +++ b/source/blender/makesdna/DNA_view2d_types.h @@ -66,8 +66,7 @@ typedef struct View2D { /* Usually set externally (as in, not in view2d files). */ char alpha_vert, alpha_hor; /* alpha of vertical and horizontal scrollbars (range is [0, 255]) */ - short size_vert, size_hor; /* Dynamic size for scrollers without scale markers (no V2D_SCROLL_SCALE_FOO) */ - short pad; + short pad[3]; /* animated smooth view */ struct SmoothView2DStore *sms; |