Skip to content

Commit ef7af9a

Browse files
committed
Custom waypoints store interval count in JSON
1 parent 74b4567 commit ef7af9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/src/main/java/org/team2363/helixnavigator/document/timeline/HCustomWaypoint.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,11 @@ public final boolean isAngularVelocityConstrained() {
192192
public final IntegerProperty controlIntervalCountProperty() {
193193
return controlIntervalCount;
194194
}
195-
196-
public final void setControlIntervalCount(int value) {
195+
@DeserializedJSONTarget
196+
public final void setControlIntervalCount(@DeserializedJSONObjectValue(key = "control_interval_count") int value) {
197197
controlIntervalCount.set(value);
198198
}
199-
199+
@SerializedJSONObjectValue(key = "control_interval_count")
200200
public final int getControlIntervalCount() {
201201
return controlIntervalCount.get();
202202
}

0 commit comments

Comments
 (0)