adium 4266:d4988a7a367c: Fix resize masks. I had them reversed f...

commits at adium.im commits at adium.im
Sat Oct 29 19:00:19 UTC 2011


details:	http://hg.adium.im/adium/rev/d4988a7a367c
revision:	4266:d4988a7a367c
branch:		(none)
author:		Stephen Holt <sholt at adium.im>
date:		Sat Oct 29 11:59:53 2011 -0700

Fix resize masks. I had them reversed for each tab position.  Fixes #15582.

(the line on the right of a message view is the draggable portion of the user list for multi-user chats and unrelated.)

diffs (12 lines):

diff -r 2275e003304f -r d4988a7a367c Plugins/Dual Window Interface/AIMessageWindowController.m
--- a/Plugins/Dual Window Interface/AIMessageWindowController.m	Sat Oct 29 01:16:22 2011 -0700
+++ b/Plugins/Dual Window Interface/AIMessageWindowController.m	Sat Oct 29 11:59:53 2011 -0700
@@ -483,7 +483,7 @@
 			
 			if (!isTabBarHidden){
 				NSRect horzLineFrame = NSMakeRect(tabBarFrame.origin.x, (tabPosition == AdiumTabPositionBottom)? NSMinY(tabViewMessagesFrame)-1 : NSMaxY(tabViewMessagesFrame)-2, NSWidth(tabViewMessagesFrame), 1);
-				NSUInteger mask = (tabPosition == AdiumTabPositionBottom)? (NSViewMinYMargin|NSViewWidthSizable) : (NSViewMaxYMargin|NSViewWidthSizable);
+				NSUInteger mask = (tabPosition == AdiumTabPositionBottom)? (NSViewMaxYMargin|NSViewWidthSizable) : (NSViewMinYMargin|NSViewWidthSizable);
 				tabView_horzLine = [[[NSBox alloc] initWithFrame:horzLineFrame] autorelease];
 				[tabView_horzLine setBorderColor:[NSColor windowFrameColor]];
 				[tabView_horzLine setBorderWidth:1];




More information about the commits mailing list