Re: Issue 25 in maccode: ugly behavior when tearing off last tab in PSMTabBarControl

3 views
Skip to first unread message

codesite...@google.com

unread,
Jan 10, 2011, 8:00:10 PM1/10/11
to mac...@googlegroups.com

Comment #2 on issue 25 by lruc...@mac.com: ugly behavior when tearing off
last tab in PSMTabBarControl
http://code.google.com/p/maccode/issues/detail?id=25

This will make it behave like Safari: the source window will hide during
drag and the miniwindow will appear

308c308,309
< #warning fix me - what should we do when the last tab is dragged as a
miniwindow?
---
> [_draggedTab switchImages];
> _centersDragWindows = YES;
505c506,508
< [[_draggedTab window] setAlphaValue:0.0];
---
> if ([_sourceTabBar tearOffStyle] == PSMTabBarTearOffAlphaWindow) {
> [[_draggedTab window] setAlphaValue:0.0];
> }


Reply all
Reply to author
Forward
0 new messages