jwarby / jquery-awesome-cursor

jQuery plugin for using FontAwesome icons as custom CSS cursors
https://jwarby.github.io/jquery-awesome-cursor/
MIT License
179 stars 69 forks source link

compatibility with font awesome 6.5.1 (resolved) #28

Open F-CJPJ opened 6 months ago

F-CJPJ commented 6 months ago

Made the change to support FA 6.5.1

// Expose the defaults so that users can override them if they want to // change line 261, changing 'fa' to 'fa-regular' for compatibility with font awesome 6.5.1 (february 21st, 2024 $.fn.awesomeCursor.defaults = { color: '#000000', size: 18, hotspot: [0, 0], flip: '', rotate: 0, outline: null, font: { family: 'FontAwesome', cssClass: 'fa-regular fa-%s' // change here ! } };