Disable search field when hiding filter bar so mouse doesn't change to "text-insertion" pointer when above where the field is hidden.
This commit is contained in:
parent
a7fc1ffed8
commit
0ddf85506c
|
@ -147,6 +147,7 @@ static void sleepCallBack(void * controller, io_service_t y,
|
||||||
|
|
||||||
[contentView addSubview: fFilterBar];
|
[contentView addSubview: fFilterBar];
|
||||||
[fFilterBar setFrameOrigin: NSMakePoint(0, [contentView frame].origin.y + [contentView frame].size.height)];
|
[fFilterBar setFrameOrigin: NSMakePoint(0, [contentView frame].origin.y + [contentView frame].size.height)];
|
||||||
|
|
||||||
[self showFilterBar: [fDefaults boolForKey: @"FilterBar"] animate: NO];
|
[self showFilterBar: [fDefaults boolForKey: @"FilterBar"] animate: NO];
|
||||||
|
|
||||||
//set up status bar
|
//set up status bar
|
||||||
|
@ -1577,10 +1578,6 @@ static void sleepCallBack(void * controller, io_service_t y,
|
||||||
|
|
||||||
- (void) toggleFilterBar: (id) sender
|
- (void) toggleFilterBar: (id) sender
|
||||||
{
|
{
|
||||||
//first make search filter lose focus
|
|
||||||
if (fFilterBarVisible)
|
|
||||||
[fWindow makeFirstResponder: fTableView];
|
|
||||||
|
|
||||||
[self showFilterBar: !fFilterBarVisible animate: YES];
|
[self showFilterBar: !fFilterBarVisible animate: YES];
|
||||||
[fDefaults setBool: fFilterBarVisible forKey: @"FilterBar"];
|
[fDefaults setBool: fFilterBarVisible forKey: @"FilterBar"];
|
||||||
|
|
||||||
|
@ -1624,6 +1621,8 @@ static void sleepCallBack(void * controller, io_service_t y,
|
||||||
minSize.height += heightChange;
|
minSize.height += heightChange;
|
||||||
[fWindow setContentMinSize: minSize];
|
[fWindow setContentMinSize: minSize];
|
||||||
|
|
||||||
|
[fSearchFilterField setEnabled: show];
|
||||||
|
|
||||||
//reset tracking rects for filter buttons
|
//reset tracking rects for filter buttons
|
||||||
[fNoFilterButton resetBounds: nil];
|
[fNoFilterButton resetBounds: nil];
|
||||||
[fSeedFilterButton resetBounds: nil];
|
[fSeedFilterButton resetBounds: nil];
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<key>1480</key>
|
<key>1480</key>
|
||||||
<string>364 490 420 60 0 0 1152 842 </string>
|
<string>364 490 420 60 0 0 1152 842 </string>
|
||||||
<key>1603</key>
|
<key>1603</key>
|
||||||
<string>229 542 477 65 0 0 1152 842 </string>
|
<string>337 545 477 65 0 0 1152 842 </string>
|
||||||
<key>29</key>
|
<key>29</key>
|
||||||
<string>9 780 451 44 0 0 1152 842 </string>
|
<string>9 780 451 44 0 0 1152 842 </string>
|
||||||
<key>456</key>
|
<key>456</key>
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue