Render: Ensure RenderElement is null if we don't recreate it
This commit is contained in:
parent
0d1882d97f
commit
64e576a004
@ -297,7 +297,10 @@ internal sealed class FrameworkService : IDisposable
|
||||
MarkerConfiguration config)
|
||||
{
|
||||
if (!config.Show)
|
||||
{
|
||||
location.RenderElement = null;
|
||||
return;
|
||||
}
|
||||
|
||||
var element =
|
||||
_renderAdapter.CreateElement(location.Type, location.Position, enabled, config.Color, config.Fill);
|
||||
|
Loading…
Reference in New Issue
Block a user