Skip to content

Commit

Permalink
Merge pull request #126 from Automattic/release/[email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlende authored Aug 3, 2020
2 parents e3cb2f7 + 7f08119 commit 7eb7643
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions blocks/waves/src/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ import { useDispatch, useSelect } from '@wordpress/data';
import { useState, useEffect, useRef } from '@wordpress/element';
import { __ } from '@wordpress/i18n';

const { run, parseColor, renderPreview } = window.a8cColorEffects;

const DEFAULT_COLORS = {
color1: '#000',
color2: '#555',
Expand Down Expand Up @@ -104,6 +102,8 @@ function HeightInput( { onChange, onUnitChange, unit = 'px', value = '' } ) {
}

function Edit( { attributes, className, isSelected, setAttributes } ) {
const { run, parseColor, renderPreview } = window.a8cColorEffects;

const { toggleSelection } = useDispatch( 'core/block-editor' );
const [ temporaryMinHeight, setTemporaryMinHeight ] = useState( null );
const [ isResizing, setIsResizing ] = useState( false );
Expand Down
2 changes: 1 addition & 1 deletion bundler/bundles/waves.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"blocks": [ "waves" ],
"version": "1.0.0",
"version": "1.0.1",
"name": "Waves Block",
"description": "Blocks can now be sinuous and soothing with the Waves Block.",
"resource": "a8c-waves"
Expand Down
8 changes: 6 additions & 2 deletions bundler/resources/a8c-waves/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Waves Block ===
Contributors: automattic, ajlende, pablohoneyhoney
Stable tag: 1.0.0
Tested up to: 5.4.1
Stable tag: 1.0.1
Tested up to: 5.5
Requires at least: 5.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -30,5 +30,9 @@ You can follow development, file an issue, suggest features, and view the source

== Changelog ==

= 1.0.1 - 3rd August 2020 =
* Fix error when double selecting a color
* Minor performance improvements

= 1.0.0 - 22nd May 2020 =
* Initial release

0 comments on commit 7eb7643

Please sign in to comment.