File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## 0.0.8
2+
3+ - ** FIXED** : Allow to select empty rect in ` QuadTree ` example.
4+
15## 0.0.7+1
26
37- ** ADDED** : Added ` changeSize ` method to ` QuadTree ` .
Original file line number Diff line number Diff line change @@ -500,7 +500,7 @@ final class QuadTree {
500500 /// This method is two times faster than [queryMap] and [query] .
501501 /// And should be used when you need only object identifiers.
502502 List <int > queryIds (ui.Rect rect) {
503- if (rect.isEmpty) return const [];
503+ // if (rect.isEmpty) return const [];
504504
505505 final root = _root;
506506 if (root == null ) return const [];
@@ -555,7 +555,7 @@ final class QuadTree {
555555 /// Query the QuadTree for objects that intersect with the given [rect] .
556556 /// Returns a map of object identifiers and their bounds.
557557 Map <int , ui.Rect > queryMap (ui.Rect rect) {
558- if (rect.isEmpty) return const {};
558+ // if (rect.isEmpty) return const {};
559559
560560 final root = _root;
561561 if (root == null ) return const {};
@@ -625,7 +625,7 @@ final class QuadTree {
625625 /// Query the QuadTree for objects that intersect with the given [rect] .
626626 /// Returns a buffer of object data.
627627 QuadTree$QueryResult query (ui.Rect rect) {
628- if (rect.isEmpty) return QuadTree$QueryResult ._(Float32List (0 ));
628+ // if (rect.isEmpty) return QuadTree$QueryResult._(Float32List(0));
629629
630630 final root = _root;
631631 if (root == null || isEmpty) return QuadTree$QueryResult ._(Float32List (0 ));
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: repaint
33description : >
44 Library for creating and managing a canvas similar to CustomPaint but with more features.
55
6- version : 0.0.7+1
6+ version : 0.0.8
77
88homepage : https://github.com/PlugFox/repaint
99
You can’t perform that action at this time.
0 commit comments