From 192177039c1bdb59ab9d6f7e276db0daa3d8eb22 Mon Sep 17 00:00:00 2001 From: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> Date: Tue, 19 Dec 2023 07:25:36 -0500 Subject: [PATCH] [TM-ONLY] Early mirror of fixing TGUI images not allowing clicks (#25725) Early mirror to fixing images not allowing clicks --- tgui/packages/tgui/components/Image.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tgui/packages/tgui/components/Image.tsx b/tgui/packages/tgui/components/Image.tsx index 82fef68993e..33a3850089c 100644 --- a/tgui/packages/tgui/components/Image.tsx +++ b/tgui/packages/tgui/components/Image.tsx @@ -32,13 +32,14 @@ export const Image = (props: Props) => { ...rest } = props; - const computedStyle = { - ...computeBoxProps(rest).style, + const computedProps = computeBoxProps(rest); + computedProps['style'] = { + ...computedProps.style, '-ms-interpolation-mode': fixBlur ? 'nearest-neighbor' : 'auto', objectFit, }; - let content = ; + let content = ; if (tooltip) { content = {content};