Closed DataTriny closed 2 months ago
In the examples, I don't see any reason why the Windo
needs to be wrapped in an Arc
. The Arc
is never cloned, only borrowed.
Aside from that, this looks good.
That was a leftover from the official winit example. Fixed now.
Examples now use the new
ApplicationHandler
trait, which led to significant changes.This is a breaking change to
accesskit_winit
, as described in the changelog.