always unlock focus when drawing the inspector buttons
This commit is contained in:
parent
444847fe35
commit
985f1fd485
|
@ -96,9 +96,10 @@
|
||||||
iconSize.width, iconSize.height);
|
iconSize.width, iconSize.height);
|
||||||
|
|
||||||
[fIcon drawInRect: iconRect fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0];
|
[fIcon drawInRect: iconRect fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0];
|
||||||
[tabImage unlockFocus];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[tabImage unlockFocus];
|
||||||
|
|
||||||
[self setImage: tabImage];
|
[self setImage: tabImage];
|
||||||
[tabImage release];
|
[tabImage release];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue