frederikhandberg on Nostr: The functionality of the formatting toolbar works nicely except for one bug I just ...
The functionality of the formatting toolbar works nicely except for one bug I just discovered… When clicking on a styling button once, it applies the style, but then clicking a second time will hide the toolbar instead of keeping it showing. #dev #Swift #SwiftUI #AppKit #macOS
The problem was fixed. It was simply because I had a 150ms `DispatchQueue` that I didn't handle correctly.
Now the formatting toolbar works as expected.