Skip to content

Commit

Permalink
regions plugin: cursor orientation bugfix (#2293)
Browse files Browse the repository at this point in the history
* handle cursor orientation bug fix

* Update CHANGES.md
  • Loading branch information
marcelblum committed Jun 4, 2021
1 parent 2e49044 commit c4067f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ wavesurfer.js changelog
x.x.x (unreleased)
------------------
- Markers plugin: add the ability to use custom HTML elements in place of the default marker icon by passing the new `markerElement` parameter to the marker constructor (#2269)
- Regions plugin: handle rollover cursor bug fix (#2293)

5.0.1 (05.05.2021)
------------------
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/regions/region.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export class Region {

// Default CSS properties for both handles.
const css = {
cursor: 'row-resize',
cursor: this.vertical ? 'row-resize' : 'col-resize',
position: 'absolute',
top: '0px',
width: '2px',
Expand Down

0 comments on commit c4067f8

Please sign in to comment.