mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] fix matrix colour affecting speech bubbles (#9799)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3b83595d12
commit
4de08c6038
@@ -11,8 +11,7 @@
|
||||
var/cur_bubble_appearance = custom_speech_bubble
|
||||
if(!cur_bubble_appearance || cur_bubble_appearance == "default")
|
||||
cur_bubble_appearance = speech_bubble_appearance()
|
||||
active_thinking_indicator = mutable_appearance('icons/mob/talk_vr.dmi', "[cur_bubble_appearance]_thinking", FLOAT_LAYER)
|
||||
active_thinking_indicator.appearance_flags |= (RESET_COLOR|PIXEL_SCALE)
|
||||
active_thinking_indicator = mutable_appearance('icons/mob/talk_vr.dmi', "[cur_bubble_appearance]_thinking", FLOAT_LAYER, appearance_flags=(KEEP_APART|RESET_COLOR|PIXEL_SCALE))
|
||||
active_thinking_indicator.pixel_x = get_oversized_icon_offsets()["x"]
|
||||
active_thinking_indicator.pixel_y = get_oversized_icon_offsets()["y"]
|
||||
add_overlay(active_thinking_indicator)
|
||||
@@ -31,8 +30,7 @@
|
||||
var/cur_bubble_appearance = custom_speech_bubble
|
||||
if(!cur_bubble_appearance || cur_bubble_appearance == "default")
|
||||
cur_bubble_appearance = speech_bubble_appearance()
|
||||
active_typing_indicator = mutable_appearance('icons/mob/talk_vr.dmi', "[cur_bubble_appearance]_typing", ABOVE_MOB_LAYER)
|
||||
active_typing_indicator.appearance_flags |= (RESET_COLOR|PIXEL_SCALE)
|
||||
active_typing_indicator = mutable_appearance('icons/mob/talk_vr.dmi', "[cur_bubble_appearance]_typing", ABOVE_MOB_LAYER, appearance_flags=(KEEP_APART|RESET_COLOR|PIXEL_SCALE))
|
||||
active_typing_indicator.pixel_x = get_oversized_icon_offsets()["x"]
|
||||
active_typing_indicator.pixel_y = get_oversized_icon_offsets()["y"]
|
||||
add_overlay(active_typing_indicator)
|
||||
|
||||
Reference in New Issue
Block a user