* GormCore/GormPalettesManager.m (init): made dragView is not autoresizable to omit problems with palettes visibility.

This commit is contained in:
Sergii Stoian 2019-12-23 01:36:17 +02:00
parent 71af93619a
commit 55c2c8dfbc

View file

@ -340,7 +340,7 @@ static NSImage *dragImage = nil;
RELEASE(scrollView); RELEASE(scrollView);
dragView = [[GormPaletteView alloc] initWithFrame: dragRect]; dragView = [[GormPaletteView alloc] initWithFrame: dragRect];
[dragView setAutoresizingMask: (NSViewHeightSizable | NSViewWidthSizable)]; [dragView setAutoresizingMask: NSViewMinYMargin];
[[panel contentView] addSubview: dragView]; [[panel contentView] addSubview: dragView];
RELEASE(dragView); RELEASE(dragView);