Set the color panel to have floating panel status.

[#45 state:resolved];
This commit is contained in:
Ross Boucher
2008-09-29 13:09:20 -07:00
parent c68a680af0
commit 461c8ef9d5
+3 -2
View File
@@ -100,8 +100,8 @@ CPColorPickerViewHeight = 370;
}
/*
Returns the shared color panel set to display in <code>mode</code>.
@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)];