mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-02 21:29:45 +00:00
fixed: preproc. leftovers
This commit is contained in:
1 parent
3bb8693e8e
commit
09c855daca
9 files changed
+196
-161
No files matched your search
@@ -700,10 +700,11 @@ CPSegmentSwitchTrackingMomentary = 2;
|
||||
|
||||
// Trick : Put selected segments over unselected ones to automaticaly manage borders
|
||||
|
||||
#if PLATFORM(DOM)
|
||||
contentView._DOMElement.style.zIndex = ([segment selected] ? 1 : 0);
|
||||
bezelView._DOMElement.style.zIndex = ([segment selected] ? 1 : 0);
|
||||
#endif
|
||||
if (CPDOMAvailable)
|
||||
{
|
||||
contentView._DOMElement.style.zIndex = ([segment selected] ? 1 : 0);
|
||||
bezelView._DOMElement.style.zIndex = ([segment selected] ? 1 : 0);
|
||||
}
|
||||
|
||||
[contentView setText:[segment label]];
|
||||
[contentView setImage:[segment image]];
|
||||
|
||||
Reference in new issue
Block a user