* GormCore/GormPalettesManager.m (loadPalette): commented out code that leads to issues with scrolling (although, code supposed to fix issues with scrolling :().

This commit is contained in:
Sergii Stoian 2019-12-23 13:43:54 +02:00
parent aff9e80077
commit f227f3008b

View file

@ -534,14 +534,14 @@ static NSImage *dragImage = nil;
// Resize the window appropriately so that we don't have issues // Resize the window appropriately so that we don't have issues
// with scrolling. // with scrolling.
if([window styleMask] & NSBorderlessWindowMask) // if([window styleMask] & NSBorderlessWindowMask)
{ // {
[window setFrame: NSMakeRect(0,0,272,160) display: NO]; // [window setFrame: NSMakeRect(0,0,272,160) display: NO];
} // }
else // else
{ // {
[window setFrame: NSMakeRect(0,0,272,224) display: NO]; // [window setFrame: NSMakeRect(0,0,272,224) display: NO];
} // }
[palettes addObject: palette]; [palettes addObject: palette];
[selectionView addColumn]; [selectionView addColumn];