Skip to content
Merged
Show file tree
Hide file tree
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 @@ -31,8 +31,10 @@ public PlatformContentViewGroup(Context context, AttributeSet attrs, int defStyl
* @param hasClip
*/
protected final void setHasClip(boolean hasClip) {
this.hasClip = hasClip;
postInvalidate();
if (this.hasClip != hasClip) {
this.hasClip = hasClip;
postInvalidate();
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ public PlatformWrapperView(Context context) {
* @param hasShadow
*/
protected final void setHasShadow(boolean hasShadow) {
this.hasShadow = hasShadow;
postInvalidate();
if (this.hasShadow != hasShadow) {
this.hasShadow = hasShadow;
postInvalidate();
}
}

@Override
Expand Down
Binary file modified src/Core/src/maui.aar
Binary file not shown.