[Type] feature
[Module] Emulator / touch
[Priority] major
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]
int eventType = MouseEventType.DRAG.value();
Point canvasSize = canvas.getSize();
- if ( e.x <= 0 ) {
- e.x = 1;
+ if ( e.x < 0 ) {
+ e.x = 0;
eventType = MouseEventType.UP.value();
EmulatorSkin.this.isDragStartedInLCD = false;
} else if ( e.x >= canvasSize.x ) {
EmulatorSkin.this.isDragStartedInLCD = false;
}
- if ( e.y <= 0 ) {
- e.y = 1;
+ if ( e.y < 0 ) {
+ e.y = 0;
eventType = MouseEventType.UP.value();
EmulatorSkin.this.isDragStartedInLCD = false;
} else if ( e.y >= canvasSize.y ) {