mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-14 22:43:57 +00:00
Bug 4339: Fixed offset calculations
This commit is contained in:
1 parent
f64795c71c
commit
fceb69d849
1 file changed
+1
-1
+1
-1
@@ -95,7 +95,7 @@ public class DataEntryPO extends CellTableRowPO {
|
||||
private void moveToUpperLeftCorner(Actions actions, WebElement webElement) {
|
||||
actions.moveToElement(webElement);
|
||||
final Dimension size = webElement.getSize();
|
||||
actions.moveByOffset(-size.width / 2 - 1, -size.height / 2 - 1);
|
||||
actions.moveByOffset(-size.width / 2 + 1, -size.height / 2 + 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user