We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5837d24 commit 6501407Copy full SHA for 6501407
app/src/main/java/com/debugcat/multishapeview/widget/MultiShapeView.java
@@ -330,25 +330,7 @@ public void setPressed(boolean pressed) {
330
invalidate();
331
}
332
333
- @Override
334
- public boolean onTouchEvent(MotionEvent event) {
335
- int action = event.getActionMasked();
336
- switch (action) {
337
- case MotionEvent.ACTION_DOWN:
338
- setPressed(true);
339
- break;
340
- case MotionEvent.ACTION_MOVE:
341
- if (!mRcBitmap.contains(event.getX(), event.getY())){
342
- setPressed(false);
343
- }
344
345
- case MotionEvent.ACTION_UP:
346
- case MotionEvent.ACTION_CANCEL:
347
348
349
350
- return true;
351
+
352
353
//-----------------------------------------------getter/setter------------------------------
354
0 commit comments