mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-18 14:31:18 +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:
1 parent
bb6b5c1232
commit
2df13b7ffc
1 file changed
+1
-1
@@ -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