Skip to content

Commit

Permalink
* [android] update debug
Browse files Browse the repository at this point in the history
  • Loading branch information
xkli committed May 27, 2016
1 parent 3c88ed9 commit 6047c43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ public String title() {

@Override
public boolean onClick(Context context) {
if(WXPrettyFish.sScalpelFrameLayout!=null){
WXPrettyFish.sScalpelFrameLayout.setLayerInteractionEnabled(!WXPrettyFish.sScalpelFrameLayout.isLayerInteractionEnabled());
}
WXPrettyFish.switchLayerInteractionEnabled();
return false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,9 @@ public String title() {
public static void updateScapleView(ScalpelFrameLayout scalpelFrameLayout){
sScalpelFrameLayout=scalpelFrameLayout;
}
public static void switchLayerInteractionEnabled(){
if(sScalpelFrameLayout!=null){
sScalpelFrameLayout.setLayerInteractionEnabled(!sScalpelFrameLayout.isLayerInteractionEnabled());
}
}
}

0 comments on commit 6047c43

Please sign in to comment.