Thank you for the detailed reply. I will have to put my hands on it to see which version it is. I'm mainly concerned with how "electronic navigation" is defined. Once I'm able to check the capabilities I will update.The current class rules (in force since 1 January 2021) say "Non-recording magnetic analog or digital compasses or stopwatches may be mounted on the deck..." but also "NOT FOR USE ... Electronic navigation devices".
So it depends on which Tacktick model we're talking about. The Melges 24 allows "tactical and navigational instruments", so your compass may include functions that aren't legal in the Sunfish. But if it's the one that today goes by the name Raymarine Micro, then it's fine:View attachment 52848
(The Laser class rule interpretations list the exact models of digital compasses that are allowed. Would probably be smart for the Sunfish to do the same.)