Skip to content

Commit

Permalink
优化11.2,select的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lihangleo2 committed Nov 2, 2020
1 parent 6e485d4 commit cc68ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shadowLibrary/src/main/java/com/lihang/ShadowLayout.java
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ protected void onFinishInflate() {
//selector样式不受clickable的影响

if (selectorType == 2) {
//如果是selector的模式下
//如果是selector的模式下//11.2优化bug
// if (this.isSelected()) {
// //这个方法内已经判断了是否为空
// setmBackGround(layoutBackground_true);
Expand Down

0 comments on commit cc68ffd

Please sign in to comment.