Skip to content
This repository was archived by the owner on Apr 10, 2021. It is now read-only.

Commit a251379

Browse files
author
Patrick Schedler
authored
remove focus when setAspect is called (#7)
1 parent 72c36cf commit a251379

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scissors-state.ts

+1
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ export class ScissorsState extends Immutable.Record({
150150
let newState = this.merge({
151151
aspect,
152152
crop: null,
153+
focus: null,
153154
}) as this
154155

155156
if (newState.image) {

0 commit comments

Comments
 (0)