Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ class HighlightView {
public static final int GROW_TOP_EDGE = (1 << 3);
public static final int GROW_BOTTOM_EDGE = (1 << 4);
public static final int MOVE = (1 << 5);


/** When {@true} show the arrowed rectangle at start for user guidance
* that the image can be zoomed In/Out*/
private boolean GROW_AT_START = true;

public HighlightView(View ctx) {

Expand Down Expand Up @@ -132,7 +137,8 @@ protected void draw(Canvas canvas) {

canvas.drawPath(path, mOutlinePaint);

if (mMode == ModifyMode.Grow) {
if (mMode == ModifyMode.Grow || GROW_AT_START) {
GROW_AT_START = false;
if (mCircle) {
int width = mResizeDrawableDiagonal.getIntrinsicWidth();
int height = mResizeDrawableDiagonal.getIntrinsicHeight();
Expand Down