Skip to content

Commit

Permalink
fix (horizontal scroller): border radius slider when bar height isn't…
Browse files Browse the repository at this point in the history
… set
bfintal committed Feb 7, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent bd76373 commit ce6352e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/block/horizontal-scroller/edit.js
Original file line number Diff line number Diff line change
@@ -191,7 +191,7 @@ const Edit = props => {
min="0"
units={ [ 'px', '%', 'rem' ] }
step="1"
sliderMax={ Math.ceil( scrollbarHeight / 2 ) }
sliderMax={ Math.ceil( ( scrollbarHeight || 10 ) / 2 ) }
/>
</PanelAdvancedSettings>
</InspectorStyleControls>

0 comments on commit ce6352e

Please sign in to comment.