francisco-chavez / PeriodicTableSelector

A WPF selector control in the shape of the Periodic Table of Elements
Microsoft Public License
1 stars 0 forks source link

Headings Disappear #3

Closed francisco-chavez closed 10 years ago

francisco-chavez commented 10 years ago

The headings in the Periodic Table that show where each rare earth element row fits will disappear if I leave a Periodic Table Example and then come back. I think the issue might be Adorner class that I created not keeping track of the canvas as part of either the logical tree.

francisco-chavez commented 10 years ago

I've changed the code that inserts the Adorner into the Adorner Layer. Now, it will always check to see if the Adorner in question is among the Adorners in the Adorner Layer. If it is not, then it will be inserted. I'm doing this because the Adorner was being removed from the Adorner Layer.