Skip to content

Commit

Permalink
fix: shadow overflowOnParents exclude RecyclerView
Browse files Browse the repository at this point in the history
  • Loading branch information
biezhihua committed Sep 5, 2022
1 parent 684ae53 commit b337075
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ private fun overflowOnParents(v: View, overflow: Boolean) {
if (viewParent is ViewGroup) {
viewParent.clipChildren = overflow
}
if (viewParent is View) {
if (viewParent is View && viewParent !is RecyclerView) {
overflowOnParents(viewParent as View, overflow)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class MainActivity : AppCompatActivity() {
val intent = Intent(MainActivity@ this, GaiaXFastPreviewActivity::class.java)
intent.putExtra(
"GAIA_STUDIO_URL",
"gaiax://gaiax/preview?url=ws://30.78.147.79:9001&id=test-template&type=auto"
"gaiax://gaiax/preview?url=ws://30.78.149.204:9001&id=test-template&type=auto"
)
launcher.launch(intent)
}
Expand Down

0 comments on commit b337075

Please sign in to comment.