[Bf-blender-cvs] [469408de725] blender2.8: UI: fix redundant scrolling in the redo panel

Campbell Barton noreply at git.blender.org
Fri Jun 15 21:06:35 CEST 2018


Commit: 469408de725353b461d073097d88b6b810c16c38
Author: Campbell Barton
Date:   Fri Jun 15 21:05:49 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB469408de725353b461d073097d88b6b810c16c38

UI: fix redundant scrolling in the redo panel

===================================================================

M	source/blender/editors/screen/area.c

===================================================================

diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 8d8d046c741..d9851487569 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -2090,6 +2090,7 @@ void ED_region_panels_layout_ex(
 				ar->sizey = size_dyn[1];
 				sa->flag |= AREA_FLAG_REGION_SIZE_UPDATE;
 			}
+			y = ABS(ar->sizey - 1);
 		}
 	}
 	else if (vertical) {



More information about the Bf-blender-cvs mailing list