mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-12 03:27:07 +00:00
Fix for NSScrollView breaking nib2cib.
Reviewed by me.
This commit is contained in:
1 parent
2d367a8b47
commit
1e6fa93ea2
1 file changed
+3
-6
@@ -35,12 +35,9 @@
|
||||
_horizontalScroller = [aCoder decodeObjectForKey:"NSHScroller"];
|
||||
_contentView = [aCoder decodeObjectForKey:"NSContentView"];
|
||||
|
||||
_hasVerticalScroller = !Boolean(flags & (1 << 4));
|
||||
_hasHorizontalScroller = !Boolean(flags & (1 << 5));
|
||||
_autohidesScrollers = Boolean(flags & (1 << 9));
|
||||
|
||||
[self setHasHorizontalScroller:!_hasHorizontalScroller];
|
||||
[self setHasVerticalScroller:!_hasVerticalScroller];
|
||||
_hasVerticalScroller = !!(flags & (1 << 4));
|
||||
_hasHorizontalScroller = !!(flags & (1 << 5));
|
||||
_autohidesScrollers = !!(flags & (1 << 9));
|
||||
|
||||
//[aCoder decodeBytesForKey:"NSScrollAmts"];
|
||||
_verticalLineScroll = 10.0;
|
||||
|
||||
Reference in new issue
Block a user