fix select click
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
parent
e2afee3432
commit
5078265d14
2 changed files with 5 additions and 2 deletions
|
@ -381,7 +381,7 @@
|
||||||
src="js/ui/tool/colorbrush.js?v=3f8c01a"
|
src="js/ui/tool/colorbrush.js?v=3f8c01a"
|
||||||
type="text/javascript"></script>
|
type="text/javascript"></script>
|
||||||
<script
|
<script
|
||||||
src="js/ui/tool/select.js?v=2ba26f1"
|
src="js/ui/tool/select.js?v=26b80dd"
|
||||||
type="text/javascript"></script>
|
type="text/javascript"></script>
|
||||||
<script src="js/ui/tool/stamp.js?v=3c07ac8" type="text/javascript"></script>
|
<script src="js/ui/tool/stamp.js?v=3c07ac8" type="text/javascript"></script>
|
||||||
<script
|
<script
|
||||||
|
|
|
@ -267,8 +267,11 @@ const selectTransformTool = () =>
|
||||||
image: canvas,
|
image: canvas,
|
||||||
...bb,
|
...bb,
|
||||||
});
|
});
|
||||||
}
|
|
||||||
state.reset(true);
|
state.reset(true);
|
||||||
|
} else {
|
||||||
|
state.reset();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Handles left mouse drag start events
|
// Handles left mouse drag start events
|
||||||
|
|
Loading…
Reference in a new issue