feat: move the filter bar's search field one pixel up (#4367)

This commit is contained in:
Cœur
2022-12-15 10:44:21 +08:00
committed by GitHub
parent 669faf7474
commit 30d3ce872f
2 changed files with 12 additions and 0 deletions

View File

@@ -4,8 +4,17 @@
#import "FilterBarView.h"
@interface FilterBarView ()
@property(weak) IBOutlet NSLayoutConstraint* searchFieldVerticalConstraint;
@end
@implementation FilterBarView
- (void)awakeFromNib
{
_searchFieldVerticalConstraint.constant = -.5;
}
- (BOOL)mouseDownCanMoveWindow
{
return NO;