adium 4230:0d7a88cf86ce: Quiet a warning from NSSplitView compla...

commits at adium.im commits at adium.im
Wed Oct 19 03:29:46 UTC 2011


details:	http://hg.adium.im/adium/rev/0d7a88cf86ce
revision:	4230:0d7a88cf86ce
branch:		(none)
author:		Stephen Holt <sholt at adium.im>
date:		Tue Oct 18 20:29:36 2011 -0700

Quiet a warning from NSSplitView complaing about subviews lining up making it slower than it should be or some other crazy thing.

Turns out it was an off by one.  This is fixed now.

diffs (12 lines):

diff -r 4b681ec542cd -r 0d7a88cf86ce Plugins/Dual Window Interface/AIMessageViewController.m
--- a/Plugins/Dual Window Interface/AIMessageViewController.m	Fri Oct 14 17:29:49 2011 +0200
+++ b/Plugins/Dual Window Interface/AIMessageViewController.m	Tue Oct 18 20:29:36 2011 -0700
@@ -1332,7 +1332,7 @@
 			msgFrame.size.width = currentFrame.size.width;
 			msgFrame.size.height = currentFrame.size.height - textFrame.size.height - dividerThickness;
 			
-			textFrame.origin.y = msgFrame.size.height + dividerThickness - 1;
+			textFrame.origin.y = msgFrame.size.height + dividerThickness;
 			
 			[view_messages setFrame:msgFrame];
 			[[scrollView_textEntry superview] setFrame:textFrame];




More information about the commits mailing list