diff options
Diffstat (limited to 'Source/SPComboPopupButton.m')
-rw-r--r-- | Source/SPComboPopupButton.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPComboPopupButton.m b/Source/SPComboPopupButton.m index 76280dac..9ee71084 100644 --- a/Source/SPComboPopupButton.m +++ b/Source/SPComboPopupButton.m @@ -283,7 +283,7 @@ // Custom tracking to be performed - indent the vertical button area slightly - activeRect = NSMakeRect(cellFrame.origin.x, cellFrame.origin.y + heightIndent, cellFrame.size.width, cellFrame.size.height - fabsf(2 * heightIndent)); + activeRect = NSMakeRect(cellFrame.origin.x, cellFrame.origin.y + heightIndent, cellFrame.size.width - [(SPComboPopupButton *)controlView lineOffset] + 1, cellFrame.size.height - fabsf(2 * heightIndent)); // Continue tracking the mouse while it's down, updating the state as it enters and leaves the cell, // until it is released; if still within the cell, perform a click. |