Compatibility with Chat Head: Timestamp before Player Head
Strubbelkopp opened this issue ยท 4 comments
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.
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
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
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.