Skip to content

Conversation

@acsandmann
Copy link

this pr simply applies the background padding to a bracket as i saw no reason for it not to already be doing this

not sure what the formatting standard is for this project so i can def fix that since i don't think it matches

int left_edge = group->first_window->origin.x - bracket->background.padding_left;
int right_edge = group->last_window->origin.x
+ group->last_window->frame.size.width
+ bracket->background.padding_right;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure that this actually does what would be expected behavior of the background padding. The background padding is a padding applied around the background, i.e. in the bracket case this would be an additional padding around the bracket. From what I see the implementation here simply applies an additional padding inside the bracket.

However, there is a problem with having "actual" bracket paddings (see #351 (comment))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants