mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 10:01:14 +00:00
Add comment to NSButtonCell.m describing the reason for the change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38916 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
89c12f32ad
commit
06cbbf5350
1 changed files with 4 additions and 0 deletions
|
@ -1122,6 +1122,10 @@ typedef struct _GSButtonCellFlags
|
|||
|| [controlView mouse: [[controlView window] mouseLocationOutsideOfEventStream]
|
||||
inRect: cellFrame]))
|
||||
{
|
||||
// Testplat-MAL-2015-08-22: Turns out this draw is using the full
|
||||
// frame as opposed to the reduced frame. This ends up drawing
|
||||
// buttons way too big compared to Cocoa version...
|
||||
// Question is: what is the correct solution?
|
||||
cellFrame = [self drawingRectForBounds:cellFrame];
|
||||
[self drawBezelWithFrame: cellFrame inView: controlView];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue