diff --git a/newIDE/app/src/EventsFunctionsExtensionEditor/EventsFunctionConfigurationEditor/EventsFunctionPropertiesEditor.js b/newIDE/app/src/EventsFunctionsExtensionEditor/EventsFunctionConfigurationEditor/EventsFunctionPropertiesEditor.js index 058e99e5ae6a..049672ed0d91 100644 --- a/newIDE/app/src/EventsFunctionsExtensionEditor/EventsFunctionConfigurationEditor/EventsFunctionPropertiesEditor.js +++ b/newIDE/app/src/EventsFunctionsExtensionEditor/EventsFunctionConfigurationEditor/EventsFunctionPropertiesEditor.js @@ -23,6 +23,7 @@ import AlertMessage from '../../UI/AlertMessage'; import useForceUpdate from '../../Utils/UseForceUpdate'; import Checkbox from '../../UI/Checkbox'; import { type ExtensionItemConfigurationAttribute } from '../../EventsFunctionsExtensionEditor'; +import { useResponsiveWindowSize } from '../../UI/Responsive/ResponsiveWindowMeasurer'; const gd: libGDevelop = global.gd; @@ -160,6 +161,7 @@ export const EventsFunctionPropertiesEditor = ({ }: Props) => { const forceUpdate = useForceUpdate(); const [containerWidth, setContainerWidth] = React.useState(null); + const { isMobile } = useResponsiveWindowSize(); const type = eventsFunction.getFunctionType(); const isABehaviorLifecycleEventsFunction = @@ -256,8 +258,9 @@ export const EventsFunctionPropertiesEditor = ({