Author: mlytwyn Date: Thu Nov 24 18:55:35 2016 New Revision: 40232 URL: http://svn.gna.org/viewcvs/gnustep?rev=40232&view=rev Log: Fix height calculation in NSplitView-setPosition:ofDividerAtIndex:
Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSSplitView.m Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSSplitView.m URL: http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSSplitView.m?rev=40232&r1=40231&r2=40232&view=diff ============================================================================== --- libs/gui/branches/gnustep_testplant_branch/Source/NSSplitView.m (original) +++ libs/gui/branches/gnustep_testplant_branch/Source/NSSplitView.m Thu Nov 24 18:55:35 2016 @@ -1188,9 +1188,9 @@ { r1.origin.y += position - old_position; r1.size.height -= position - old_position; - if (NSHeight(r) < 1.) - { - r.size.height = 1.; + if (NSHeight(r1) < 1.) + { + r1.size.height = 1.; } } else _______________________________________________ Gnustep-cvs mailing list Gnustep-cvs@gna.org https://mail.gna.org/listinfo/gnustep-cvs