diff options
-rw-r--r-- | source/blender/editors/interface/interface_panel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index b8f87a4300c..f824670cc57 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -428,7 +428,8 @@ void UI_panel_end( } int align = panel_aligned(area, region); - if (old_region_ofsx != panel_region_offset_x_get(region, align)) { + panel->runtime.region_ofsx = panel_region_offset_x_get(region, align); + if (old_region_ofsx != panel->runtime.region_ofsx) { panel->runtime_flag |= PNL_ANIM_ALIGN; } } |