An open API service indexing awesome lists of open source software.

https://github.com/dertyp7/ts5-addon-fix-avatars

This is a simple script that fixes the bug that avatars are not fully displayed and cut off at the bottom
https://github.com/dertyp7/ts5-addon-fix-avatars

teamspeak teamspeak5

Last synced: 3 months ago
JSON representation

This is a simple script that fixes the bug that avatars are not fully displayed and cut off at the bottom

Awesome Lists containing this project

README

        

# Fix TS5-Avatars

This is a simple script that fixes the bug that avatars are not fully displayed and cut off at the bottom.
This addon uses a workaround due to limitations in the TS5 addon integration.
![image](https://github.com/DerTyp7/ts5-addon-fix-avatars/assets/76851529/752da48e-3bae-4789-b8bc-29e05c5ff94a) ![image](https://github.com/DerTyp7/ts5-addon-fix-avatars/assets/76851529/efefa04e-c5d7-477a-bf45-ff36b60d35ec)

> GIFs may not work as intended
> This code uses the [TS5AddonInstaller](https://github.com/FelixVolo/TS5AddonInstaller)

## Installation

1. Download the latest release from [here](https://github.com/DerTyp7/ts5-addon-fix-avatars/releases/latest).
2. Download the latest release of the [TS5AddonInstaller](https://github.com/FelixVolo/TS5AddonInstaller/releases/latest).
3. Run the TS5AddonInstaller and select the downloaded zip file.
4. Click on `Install` and restart the TeamSpeak 5 client.

> **Note:** For installation issues or similar read the documentation of the [TS5AddonInstaller](https://github.com/FelixVolo/TS5AddonInstaller).

## Description of the workaround

I noticed that when the user clicks out of the TS5 window, it adds `ts-frame=1` to the image element of the avatar. Chromium behaves strangely with this changing `src`. So I copied the old image and replaced the new one, which isn't affected by the code.