diff --git a/build/index.html b/build/index.html index 7a69f47..7672157 100644 --- a/build/index.html +++ b/build/index.html @@ -50,6 +50,10 @@ console.log('Something drawed: ', state); // localStorage.setItem('painterroImage', this.imageSaver.asDataURL()) }, + availableLineWidths: [1,2,4,8,16,64], + availableEraserWidths: [1,2,4,8,16,64], + availableFontSizes: [1,2,4,8,16,64], + toolbarPosition: 'top' // defaultTool: 'line', //hiddenTools: ['line'] }).show() //; diff --git a/css/bar-styles.css b/css/bar-styles.css index ff41ff5..2c5c8a3 100644 --- a/css/bar-styles.css +++ b/css/bar-styles.css @@ -110,3 +110,7 @@ button.ptro-icon-right:first-of-type { text-rendering: auto; -webkit-font-smoothing: antialiased; } + +#container-bar { + display: block; +} \ No newline at end of file diff --git a/package.json b/package.json index 7102a8b..5b41e6d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "painterro", - "version": "0.2.57", + "version": "0.2.58", "description": "HTML5 image editor widget", "main": "build/painterro.commonjs2.js", "scripts": { diff --git a/wp/trunk/index.js b/wp/trunk/index.js index e174614..1c23578 100644 --- a/wp/trunk/index.js +++ b/wp/trunk/index.js @@ -90,7 +90,7 @@ return { longname: "Painterro", author: "Ivan Borshchov", - version: "0.2.57", + version: "0.2.58", }; } }); diff --git a/wp/trunk/painterro-wp.php b/wp/trunk/painterro-wp.php index bd6c79e..5f19b47 100644 --- a/wp/trunk/painterro-wp.php +++ b/wp/trunk/painterro-wp.php @@ -4,12 +4,12 @@ Plugin Name: Painterro Plugin URI: https://github.com/ivictbor/painterro Description: Paste screenshots and edit images directly in browser. Adds Painterro button to visual editor for images editing. Absolutely free and open source. -Version: 0.2.57 +Version: 0.2.58 Author: Ivan Borshchov License: MIT */ -define("PAINTERRO_FILE", "painterro-0.2.57.min.js"); +define("PAINTERRO_FILE", "painterro-0.2.58.min.js"); function include_painterro_script() {