diff --git a/src/main/webapp/resources/3rd-party/paintweb/interfaces/default/layout.xhtml b/src/main/webapp/resources/3rd-party/paintweb/interfaces/default/layout.xhtml index cba7738b..8c485fbd 100644 --- a/src/main/webapp/resources/3rd-party/paintweb/interfaces/default/layout.xhtml +++ b/src/main/webapp/resources/3rd-party/paintweb/interfaces/default/layout.xhtml @@ -29,6 +29,7 @@
  • Selection
  • +
  • Rectangle
  •  
  • @@ -36,20 +37,28 @@
  • Copy selection
  • Clipboard paste
  • -
  • Rotate image
  • +
  • +

    Fill +   +

    +

    Stroke +   +

    +
  •  
  • +
  • Rotate image
  • +
  • brighten image
  • +
  • darken image
  • + -
  • Rectangle
  •  
  • -
  •  
  • - @@ -64,18 +73,6 @@
  • Clear image
  • Save image
  • -
  • -

    Fill -   -

    -

    Stroke -   -

    -
  • - -
  • brighten image
  • -
  • darken image
  • - diff --git a/src/main/webapp/resources/3rd-party/paintweb/paintweb.js b/src/main/webapp/resources/3rd-party/paintweb/paintweb.js index ca430f2e..bf46b7e2 100644 --- a/src/main/webapp/resources/3rd-party/paintweb/paintweb.js +++ b/src/main/webapp/resources/3rd-party/paintweb/paintweb.js @@ -1683,9 +1683,9 @@ function PaintWeb (win, doc) { if (!level) { return false; } else if (level === '+') { - level = image.zoom + config.imageZoomStep; + level = Number(image.zoom) + config.imageZoomStep; } else if (level === '-') { - level = image.zoom - config.imageZoomStep; + level = Number(image.zoom) - config.imageZoomStep; } else if (typeof level !== 'number') { return false; }