adium 4283:fe00cfadb2b2: Fixed issue where window shadows were n...

commits at adium.im commits at adium.im
Fri Nov 4 18:44:03 UTC 2011


details:	http://hg.adium.im/adium/rev/fe00cfadb2b2
revision:	4283:fe00cfadb2b2
branch:		(none)
author:		Stephen Holt <sholt at adium.im>
date:		Fri Nov 04 11:43:58 2011 -0700

Fixed issue where window shadows were not initially rendered with transparent message view backgrounds

diffs (25 lines):

diff -r 850b94f6019c -r fe00cfadb2b2 ChangeLogs/Changes Between Betas.txt
--- a/ChangeLogs/Changes Between Betas.txt	Wed Nov 02 23:19:32 2011 +0100
+++ b/ChangeLogs/Changes Between Betas.txt	Fri Nov 04 11:43:58 2011 -0700
@@ -1,3 +1,6 @@
+Adium 1.5b3
+ * Fixed issue where window shadows were not initially rendered with transparent message view backgrounds
+
 Adium 1.5b2
  * Made the separator between the text entry and message views thinner.
  * Fixed a shadow drawing error under 64 bit in PSMTabBarController
diff -r 850b94f6019c -r fe00cfadb2b2 Plugins/WebKit Message View/AIWebKitMessageViewController.m
--- a/Plugins/WebKit Message View/AIWebKitMessageViewController.m	Wed Nov 02 23:19:32 2011 +0100
+++ b/Plugins/WebKit Message View/AIWebKitMessageViewController.m	Fri Nov 04 11:43:58 2011 -0700
@@ -799,6 +799,11 @@
 	[self setupMarkedScroller];
 	[self setIsGroupChat:chat.isGroupChat];
 	[self processQueuedContent];
+	
+	// force the window to redisplay, otherwise the shadow will not draw properly with transparent message views 
+	NSWindow *win = [webView window];
+	[win invalidateShadow];
+	[win display];
 }
 
 - (void)openImage:(id)sender




More information about the commits mailing list