Chat Patches

Chat Patches

2M Downloads

Compatibility with Chat Head: Timestamp before Player Head

Strubbelkopp opened this issue ยท 4 comments

commented

Is your feature request related to a problem? Please describe.
I feel like it'd make more sense, if the timestamp is displayed before the player head, since also messages without a player head have a timestamp attached to them. This means that the indentation of the timestamps is inconsistent across messages.

Describe the solution you'd like
An option for you to display the timestamp in front of the player head

Describe alternatives you've considered
I'm not sure whether it'd make more sense to include the option in Chat Patches or Chat Heads. If this is easier doable from the other end, I'll happily open an issue in the Chat Heads repo.

commented

i think you're right that i would have to do this, but i'm not entirely sure how feasible it would be. i'll look into it

commented

on second thought, could you attach a photo of what you mean? i'm fairly certain chat heads already let's you indent all messages consistently

commented

How it currently looks:
2023-02-05_19 08 31
How it looks with the setting from Chat Heads enabled:
2023-02-05_19 08 55
What I'm thinking of:
2023-02-05_19 08 31-export

With the setting from Chat Heads, the indentation is consistent, however you always have this wide mostly empty column on the left side of the chat, which doesn't look very good in my opinion

commented

sorry but I don't think that is going to work. chat heads renders the icon from the skin (which makes sense) but for it to work in the best way, it would have to be a sort of text character? and even then there would need to be quite a bit of integration and compatibility work.

now it could possibly be done on chat heads' end: before rendering the icon they would check if the option is enabled and that chat patches is present, then identify the part of the message that is the timestamp (after reconstructing it due to how text is rendered), get the width of that specific timestamp plus the space, and shift the x value by that many pixels to the right. all for an (in my opinion) not very good looking change.

tl;dr: annoying to implement, but if you are really determined you can open an issue on the chat heads repo and link back to this comment.