Revision: 24214
          http://sourceforge.net/p/bibdesk/svn/24214
Author:   hofman
Date:     2019-09-16 13:30:02 +0000 (Mon, 16 Sep 2019)
Log Message:
-----------
make color panel non continuous

Modified Paths:
--------------
    trunk/bibdesk/BDSKAppController.m
    trunk/bibdesk/BibDocument_Actions.m

Modified: trunk/bibdesk/BDSKAppController.m
===================================================================
--- trunk/bibdesk/BDSKAppController.m   2019-09-16 06:30:23 UTC (rev 24213)
+++ trunk/bibdesk/BDSKAppController.m   2019-09-16 13:30:02 UTC (rev 24214)
@@ -386,7 +386,8 @@
     [WebHistory setOptionalSharedHistory:history];
     
     [[NSColorPanel sharedColorPanel] setShowsAlpha:YES];
-    
+    [[NSColorPanel sharedColorPanel] setContinuous:NO];
+
 #pragma clang diagnostic push
 #pragma clang diagnostic ignored "-Wpartial-availability"
     if ([NSApp 
respondsToSelector:@selector(setAutomaticCustomizeTouchBarMenuItemEnabled:)])

Modified: trunk/bibdesk/BibDocument_Actions.m
===================================================================
--- trunk/bibdesk/BibDocument_Actions.m 2019-09-16 06:30:23 UTC (rev 24213)
+++ trunk/bibdesk/BibDocument_Actions.m 2019-09-16 13:30:02 UTC (rev 24214)
@@ -641,7 +641,7 @@
 }
 
 - (void)changeColor:(id)sender {
-    if ([self hasGroupTypeSelected:BDSKExternalGroupType] == NO && [self 
isDisplayingFileContentSearch] == NO && [[self selectedPublications] count] && 
changingColors == NO) {
+    if ([self hasGroupTypeSelected:BDSKExternalGroupType] == NO && [self 
isDisplayingFileContentSearch] == NO && [[self selectedPublications] count] && 
changingColors == NO) {log_method();
         changingColors = YES;
         [[self selectedPublications] setValue:[sender color] forKey:@"color"];
         changingColors = NO;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to