Removes transform from speech bubbles when speaker is scaled at less than 2x. (#7927)

* Resets scaling and colour on the typing indicator.

* Refactoring speech bubble generation.
This commit is contained in:
MistakeNot4892
2021-03-01 10:08:36 +11:00
committed by GitHub
parent 8dc04048ed
commit e67c35e751
6 changed files with 25 additions and 14 deletions

View File

@@ -121,9 +121,7 @@
/mob/zshadow/set_typing_indicator(var/state)
if(!typing_indicator)
typing_indicator = new
typing_indicator.icon = 'icons/mob/talk.dmi' // Looks better on the right with job icons.
typing_indicator.icon_state = "typing"
init_typing_indicator("typing")
if(state && !typing)
overlays += typing_indicator
typing = 1