adium 5166:d60e3fe6adc1: Hack: Resize the textbox after the anim...
commits at adium.im
commits at adium.im
Sun Oct 21 23:55:08 UTC 2012
details: http://hg.adium.im/adium/rev/d60e3fe6adc1
revision: 5166:d60e3fe6adc1
branch: adium-1.6
author: Thijs Alkemade <thijsalkemade at gmail.com>
date: Mon Oct 22 01:53:40 2012 +0200
Hack: Resize the textbox after the animation is done.
This way the box doesn't randomly grow and shrink 2 pixels.
diffs (13 lines):
diff -r ba94329ea106 -r d60e3fe6adc1 Plugins/Dual Window Interface/AIMessageViewController.m
--- a/Plugins/Dual Window Interface/AIMessageViewController.m Mon Oct 22 00:40:37 2012 +0100
+++ b/Plugins/Dual Window Interface/AIMessageViewController.m Mon Oct 22 01:53:40 2012 +0200
@@ -1414,7 +1414,8 @@
}
[NSAnimationContext endGrouping];
- [self _updateTextEntryViewHeight];
+
+ [self performSelector:@selector(_updateTextEntryViewHeight) withObject:nil afterDelay:0.1];
}
@end
More information about the commits
mailing list