Skip to content

Commit 7dd1848

Browse files
committed
Fixed M4 breaking changes
1 parent 8e182b4 commit 7dd1848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dock/dock_model.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class DockNode {
3535
void removeChild(DockNode childNode) {
3636
int index = children.indexOf(childNode);
3737
if (index >= 0) {
38-
children.removeRange(index, 1);
38+
children.removeRange(index, index + 1);
3939
}
4040
}
4141

0 commit comments

Comments
 (0)