Skip to content

Commit 94d842d

Browse files
committed
Fix multiple dialogs opening on item click
1 parent 030bf99 commit 94d842d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

flutter-lib/lib/src/impl/control_evolve.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ abstract class ControlImpl<T extends ControlSwt, V extends VControl>
153153
..button = _lastButton
154154
..x = e.localPosition.dx.round()
155155
..y = e.localPosition.dy.round()
156-
..count = 1;
156+
..count = 2;
157157
this.widget.sendMouseMouseDown(state, event);
158158
},
159159
onPointerUp: (e) {

swt_native/src/web/java/org/eclipse/swt/widgets/DartTable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ public int getItemCount() {
10331033
*/
10341034
public int getItemHeight() {
10351035
checkWidget();
1036-
return RequestResponse.call(this, "GetItemHeight", null, Integer.class, 500, 20);
1036+
return RequestResponse.call(this, "GetItemHeight", null, Integer.class, 100, 20);
10371037
}
10381038

10391039
/**

0 commit comments

Comments
 (0)