diff options
Diffstat (limited to 'features/hud/index.js')
-rw-r--r-- | features/hud/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/features/hud/index.js b/features/hud/index.js index accd1ef..d256d41 100644 --- a/features/hud/index.js +++ b/features/hud/index.js @@ -113,6 +113,7 @@ class Hud extends Feature { this.showSpotifyPlaying = new ToggleSetting("Show Current Playing Spotify Song", "(Only tested with spotify from windows store)", false, "spotify_now_playing", this) this.spotifyElement = new HudTextElement() .setText("&6Spotify&7> ") + .setBaseEditWidth(Renderer.getStringWidth("Spotify> ")+150) .setToggleSetting(this.showSpotifyPlaying) .setLocationSetting(new LocationSetting("Spotify Location", "Allows you to edit the location of the spotify text", "spotify_now_playing_location", this, [10, 80, 1, 1]) .requires(this.showSpotifyPlaying) @@ -527,7 +528,7 @@ class Hud extends Feature { process.waitFor(); } - this.spotifyElement2.setText(currentSong) + this.spotifyElement2.setText(currentSong.normalize("NFD").replace(/[\u0300-\u036f]/g, "")) } updateHudThingos(){ |