Skip to content
Permalink
Browse files
Timeline/Dope sheet/NLA editors - slider covers button to call sidebar
  • Loading branch information
iyadahmed committed Nov 26, 2020
1 parent c6575cb commit 046ea1c
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 1 deletion.
BIN +1.49 KB (100%) release/datafiles/startup.blend
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -115,6 +115,10 @@ static void blo_update_defaults_screen(bScreen *screen,
if (ELEM(region->regiontype, RGN_TYPE_UI, RGN_TYPE_TOOLS, RGN_TYPE_TOOL_PROPS)) {
region->v2d.flag &= ~V2D_IS_INIT;
}
/* bfa - Timeline/Dope sheet/NLA editors - slider covers button to call sidebar */
if (region->regiontype == RGN_TYPE_WINDOW && (region->v2d.scroll & V2D_SCROLL_RIGHT)) {
region->v2d.scroll |= V2D_SCROLL_VERTICAL_HANDLES;
}
}

/* Set default folder. */
@@ -120,7 +120,8 @@ static SpaceLink *nla_create(const ScrArea *area, const Scene *scene)
region->v2d.minzoom = 0.01f;
region->v2d.maxzoom = 50;
region->v2d.scroll = (V2D_SCROLL_BOTTOM | V2D_SCROLL_HORIZONTAL_HANDLES);
region->v2d.scroll |= V2D_SCROLL_RIGHT;
/* bfa - NLA editor - slider covers button to call sidebar */
region->v2d.scroll |= (V2D_SCROLL_RIGHT | V2D_SCROLL_VERTICAL_HANDLES);
region->v2d.keepzoom = V2D_LOCKZOOM_Y;
region->v2d.keepofs = V2D_KEEPOFS_Y;
region->v2d.align = V2D_ALIGN_NO_POS_Y;

0 comments on commit 046ea1c

Please sign in to comment.