From cfd0a544b616a85a5989c295fee350aa9ddd7cee Mon Sep 17 00:00:00 2001 From: "vladislav.shishov" Date: Wed, 24 Apr 2024 12:20:49 +0300 Subject: [PATCH] [remote-driver] SmoothRobot : do not post MOUSE_CLICKED event GitOrigin-RevId: f65032dcdebe16fab014a229559ee18e5bfd7b91 --- .../performancePlugin/remotedriver/robot/SmoothRobot.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/performanceTesting/remote-driver/src/com/jetbrains/performancePlugin/remotedriver/robot/SmoothRobot.kt b/plugins/performanceTesting/remote-driver/src/com/jetbrains/performancePlugin/remotedriver/robot/SmoothRobot.kt index 3002750ed269..de9d72dffbe4 100644 --- a/plugins/performanceTesting/remote-driver/src/com/jetbrains/performancePlugin/remotedriver/robot/SmoothRobot.kt +++ b/plugins/performanceTesting/remote-driver/src/com/jetbrains/performancePlugin/remotedriver/robot/SmoothRobot.kt @@ -496,9 +496,6 @@ internal class SmoothRobot : Robot { val mouseReleasedEvent = MouseEvent(window, MouseEvent.MOUSE_RELEASED, System.currentTimeMillis(), 0, clickPoint.x, clickPoint.y, 1, false, awtMouseButton) eventQueue.postEvent(mouseReleasedEvent) - val mouseClickedEvent = MouseEvent(window, MouseEvent.MOUSE_CLICKED, System.currentTimeMillis(), 0, - clickPoint.x, clickPoint.y, 1, false, awtMouseButton) - eventQueue.postEvent(mouseClickedEvent) } }