fix select click

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
Victor Seiji Hariki 2023-01-12 20:32:53 -03:00
parent e2afee3432
commit 5078265d14
2 changed files with 5 additions and 2 deletions

View file

@ -381,7 +381,7 @@
src="js/ui/tool/colorbrush.js?v=3f8c01a"
type="text/javascript"></script>
<script
src="js/ui/tool/select.js?v=2ba26f1"
src="js/ui/tool/select.js?v=26b80dd"
type="text/javascript"></script>
<script src="js/ui/tool/stamp.js?v=3c07ac8" type="text/javascript"></script>
<script

View file

@ -267,8 +267,11 @@ const selectTransformTool = () =>
image: canvas,
...bb,
});
state.reset(true);
} else {
state.reset();
}
state.reset(true);
};
// Handles left mouse drag start events