mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 20:27:39 +00:00
* Source/GSThemeDrawing.m (-drawTabViewRect:...selectedItem:),
* Source/NSTabView.m (-drawRect:): Move the select logic from theme into normal code. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35686 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e85b16bc05
commit
ce25719c03
3 changed files with 12 additions and 4 deletions
|
@ -1658,10 +1658,6 @@ static NSDictionary *titleTextAttributes[3] = {nil, nil, nil};
|
|||
BOOL truncate = [(NSTabView *)view allowsTruncatedLabels];
|
||||
NSTabViewType type = [(NSTabView *)view tabViewType];
|
||||
|
||||
// Make sure some tab is selected
|
||||
if (!selected && howMany > 0)
|
||||
[(NSTabView *)view selectFirstTabViewItem: nil];
|
||||
|
||||
DPSgsave(ctxt);
|
||||
|
||||
switch (type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue