mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 12:40:47 +00:00
Sync table headers on mouse down clicks to avoid missing text, etc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40265 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4582391923
commit
091858c26a
2 changed files with 6 additions and 1 deletions
|
@ -3725,6 +3725,7 @@ static inline float computePeriod(NSPoint mouseLocationWin,
|
|||
{
|
||||
[self deselectAll:self];
|
||||
[self displayIfNeeded];
|
||||
[[self headerView] setNeedsDisplay:YES];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -3796,6 +3797,10 @@ static inline float computePeriod(NSPoint mouseLocationWin,
|
|||
currentRow, \
|
||||
&_selectedRow, \
|
||||
selectionMode); \
|
||||
if (_clickedColumn != -1) \
|
||||
{ \
|
||||
[[self headerView] setNeedsDisplayInRect:[[self headerView] headerRectOfColumn:_clickedColumn]]; \
|
||||
} \
|
||||
[self displayIfNeeded]; \
|
||||
} \
|
||||
} while (0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue