mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-20 17:30:41 +00:00
Fixed: CPComboBox don't close when clicking on the scroll
Previously CPComboBox don't close when clicking on the scroll, now it does Fixed #1991
This commit is contained in:
@@ -887,7 +887,7 @@ var _CPPopUpListDataSourceKey = @"_CPPopUpListDataSourceKey",
|
||||
|
||||
if (mouseWindow != self && !CGRectContainsPoint(rect, point))
|
||||
[[self delegate] close];
|
||||
else if ([mouseWindow firstResponder] == [[self delegate] dataSource])
|
||||
else
|
||||
[self _trapNextMouseDown];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user