mirror of
https://github.com/nextcloud/android.git
synced 2024-11-30 08:25:21 +03:00
Merge pull request #2545 from nextcloud/ortiztouch-switchbug
ortiz.touch: End switch case with an unconditional break.
This commit is contained in:
commit
6047604ad5
1 changed files with 1 additions and 0 deletions
|
@ -572,6 +572,7 @@ public class TouchImageView extends AppCompatImageView {
|
|||
|
||||
case CENTER_INSIDE:
|
||||
scaleX = scaleY = Math.min(1, Math.min(scaleX, scaleY));
|
||||
break;
|
||||
|
||||
case FIT_CENTER:
|
||||
scaleX = scaleY = Math.min(scaleX, scaleY);
|
||||
|
|
Loading…
Reference in a new issue