Skip to content

Commit b41a72b

Browse files
committed
🛠️ Fix Default anim snapping effecting all formats
1 parent a14d1a9 commit b41a72b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mods/animationPropertiesMod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ createBlockbenchMod(
1919
data: AnimationOptions
2020
) {
2121
context.originalExtend.call(this, data)
22-
this.snapping = DEFAULT_SNAPPING_VALUE
2322
if (isCurrentFormat()) {
23+
this.snapping = DEFAULT_SNAPPING_VALUE
2424
this.length = Math.max(this.length, MINIMUM_ANIMATION_LENGTH)
2525
for (const animator of Object.values(this.animators)) {
2626
if (!animator) continue

0 commit comments

Comments
 (0)