kopia lustrzana https://github.com/olgamiller/SSTVEncoder2
Invalidate CropView in setModeSize also if no image is loaded
rodzic
780f641242
commit
d67719abd8
|
@ -139,10 +139,9 @@ public class CropView extends ImageView {
|
|||
public void setModeSize(ModeSize size) {
|
||||
mModeSize = size;
|
||||
mOutputRect = Utility.getEmbeddedRect(getWidth(), getHeight(), mModeSize.width(), mModeSize.height());
|
||||
if (mImageOK) {
|
||||
if (mImageOK)
|
||||
resetInputRect();
|
||||
invalidate();
|
||||
}
|
||||
invalidate();
|
||||
}
|
||||
|
||||
private void resetInputRect() {
|
||||
|
|
Ładowanie…
Reference in New Issue