Flycut icon indicating copy to clipboard operation
Flycut copied to clipboard

[visual enhancement] bezel display

Open derekn opened this issue 7 years ago • 1 comments

would be really nice to be able to remove/adjust the rounded corners and border around the bezel.

derekn avatar May 11 '17 16:05 derekn

This could be done by adding a user default and binding a spinner to the appearance pref panel...

e.g.

-(NSColor*) backgroundColor
{
    NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];
    float radius = [prefs floatForKey:@"bezelRoundedCornerRadius"];
    
    return [self sizedBezelBackgroundWithRadius:radius withAlpha:[[NSUserDefaults standardUserDefaults] floatForKey:@"bezelAlpha"]];
}

@"bezelRoundedCornerRadius" would need to be added to the standardUserDefaults.

e.g.

[[NSUserDefaults standardUserDefaults] registerDefaults:[NSDictionary dictionaryWithObjectsAndKeys:
//...
        [NSNumber numberWithFloat:10.0],
        @"bezelRoundedCornerRadius",

jasonm23 avatar Sep 04 '17 04:09 jasonm23