From 461c8ef9d51da749368680971fbb441b7247331f Mon Sep 17 00:00:00 2001 From: Ross Boucher Date: Mon, 29 Sep 2008 13:09:20 -0700 Subject: [PATCH] Set the color panel to have floating panel status. [#45 state:resolved]; --- AppKit/CPColorPanel.j | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/AppKit/CPColorPanel.j b/AppKit/CPColorPanel.j index ba02ce05b..7436a31b3 100644 --- a/AppKit/CPColorPanel.j +++ b/AppKit/CPColorPanel.j @@ -100,8 +100,8 @@ CPColorPickerViewHeight = 370; } /* - Returns the shared color panel set to display in mode. - @param mode the mode to which the color panel will be set before returning + Sets the mode for the shared color panel. + @param mode the mode to which the color panel will be set */ + (void)setPickerMode:(CPColorPanelMode)mode { @@ -123,6 +123,7 @@ CPColorPickerViewHeight = 370; [self setTitle:@"Color Panel"]; [self setLevel:CPFloatingWindowLevel]; + [self setFloatingPanel:YES]; [self setBecomesKeyOnlyIfNeeded:YES]; [self setMinSize:CGSizeMake(218.0, 360.0)];