Skip to content

Commit

Permalink
1.2.48
Browse files Browse the repository at this point in the history
  • Loading branch information
ivictbor committed Apr 26, 2021
1 parent e5ad047 commit e94d01e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 3 additions & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,9 @@ class PainterroProc {
name: 'rotate',
hotkey: 'r',
activate: () => {
if (this.initText) this.wrapper.click();
if (this.initText) {
this.wrapper.click();
}
const w = this.size.w;
const h = this.size.h;
const tmpData = this.ctx.getImageData(0, 0, this.size.w, this.size.h);
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "painterro",
"version": "1.2.47",
"version": "1.2.48",
"description": "HTML5 image editing widget (js paint plugin)",
"main": "build/painterro.commonjs2.js",
"repository": {
Expand Down
3 changes: 0 additions & 3 deletions tmp_serve/painterro-1.2.47.min.1.js

This file was deleted.

1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ function webpackConfig(target, mode) {
{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/,
options: {
// sourceType: "module",
presets: [["@babel/preset-env", {
Expand Down

0 comments on commit e94d01e

Please sign in to comment.