File tree 6 files changed +19
-4
lines changed
6 files changed +19
-4
lines changed Original file line number Diff line number Diff line change
1
+ # 2.7.2
2
+ - Modify the node reset registration point to 0.5.
3
+
1
4
# 2.7.1
2
5
- Add zkapp panStart panUpdate panEnd events.
3
6
Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ description: A new Flutter project.
14
14
version : 1.0.0+1
15
15
16
16
environment :
17
- sdk : " >=2.12.0 <3 .0.0"
17
+ sdk : " >=2.12.0 <4 .0.0"
18
18
19
19
dependencies :
20
20
flutter :
21
21
sdk : flutter
22
22
23
23
# The following adds the Cupertino Icons font to your application.
24
24
# Use with the CupertinoIcons class for iOS style icons.
25
- cupertino_icons : ^0.1.2
25
+ cupertino_icons : ^1.0.6
26
26
zerker :
27
27
path : ../
28
28
Original file line number Diff line number Diff line change @@ -193,6 +193,12 @@ class ZKScrollBg extends ZKContainer {
193
193
this .forEach ((bgFrag) => bgFrag.debug = d);
194
194
}
195
195
196
+ @override
197
+ void reset () {
198
+ super .reset ();
199
+ this .anchor.reset ();
200
+ }
201
+
196
202
@override
197
203
void dispose () {
198
204
super .dispose ();
Original file line number Diff line number Diff line change @@ -183,6 +183,12 @@ class ZKGraphic extends ZKNode {
183
183
}
184
184
}
185
185
186
+ @override
187
+ void reset () {
188
+ super .reset ();
189
+ this .anchor.reset ();
190
+ }
191
+
186
192
@override
187
193
void dispose () {
188
194
super .dispose ();
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ class ZKNode {
213
213
214
214
void reset () {
215
215
this .position.reset ();
216
- this .anchor.reset ( );
216
+ this .anchor.set ( 0.5 , 0.5 );
217
217
this .scale.reset ();
218
218
this .skew.reset ();
219
219
this .rotation = 0 ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ description: Zerker is a flexible and lightweight flutter canvas graphic animati
11
11
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
12
12
# Read more about iOS versioning at
13
13
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
14
- version : 2.7.1
14
+ version : 2.7.2
15
15
homepage : https://github.com/flutterkit/zerker
16
16
17
17
environment :
You can’t perform that action at this time.
0 commit comments