Skip to content

Commit ac5a3ac

Browse files
committed
fix: action
1 parent c74fb0b commit ac5a3ac

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

src/main/java/com/github/dsx137/jable/base/OneShotBoolean.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,26 @@
55
*/
66
public class OneShotBoolean extends Property<Boolean> {
77
public OneShotBoolean() {
8-
super(false,
8+
super(
9+
false,
910
wov -> {
1011
boolean v = wov.get();
1112
wov.set(false);
1213
return v;
1314
},
14-
Wrapper::set);
15+
Wrapper::set
16+
);
1517
}
1618

1719
public OneShotBoolean(boolean origin) {
18-
super(origin,
20+
super(
21+
origin,
1922
wov -> {
2023
boolean v = wov.get();
2124
wov.set(false);
2225
return v;
2326
},
24-
Wrapper::set);
27+
Wrapper::set
28+
);
2529
}
2630
}

0 commit comments

Comments
 (0)