mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-21 02:30:59 +00:00
* Source/NSButtonCell.m (-initWithCoder:):
Fix image scaling value extract from XIB. * Headers/Additions/GNUstepGUI/GSXibLoading.h * Source/GSXibLoading.m * Source/GSXibLoader.m Add IB defined runtime attribute processing for XIB Patch by Marcian Lytwyn <gna@advcsi.com>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38882 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
221a51e14e
commit
fd098d8eda
5 changed files with 122 additions and 36 deletions
|
@ -1877,7 +1877,7 @@ typedef struct _GSButtonCellFlags
|
|||
[self setKeyEquivalentModifierMask: ((bFlags2 >> 8) &
|
||||
NSDeviceIndependentModifierFlagsMask)];
|
||||
|
||||
switch (bFlags2 & (3 << 6))
|
||||
switch ((bFlags2 >> 6) & 3)
|
||||
{
|
||||
case 2:
|
||||
imageScale = NSImageScaleProportionallyDown;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue