Reset GlassHighlightNode cache on detach, fixed #4
This commit is contained in:
1 parent
a0595c0af2
commit
2de499019b
1 file changed
+9
@@ -201,6 +201,15 @@ internal class GlassHighlightNode(
|
||||
graphicsContext.releaseGraphicsLayer(layer)
|
||||
graphicsLayer = null
|
||||
}
|
||||
|
||||
_size = Size.Unspecified
|
||||
_density = Float.NaN
|
||||
_layoutDirection = LayoutDirection.Ltr
|
||||
_color = Color.Unspecified
|
||||
_strokeWidthPx = Float.NaN
|
||||
_topLeft = Offset.Unspecified
|
||||
_outline = null
|
||||
_cornerRadiusPx = Float.NaN
|
||||
}
|
||||
|
||||
fun update(
|
||||
|
||||
Reference in new issue
Block a user