RustAudio / baseview

low-level window system interface for audio plugin UIs
Apache License 2.0
274 stars 57 forks source link

Windows mouse capture #82

Closed geom3trik closed 3 years ago

geom3trik commented 3 years ago

Reopening this because I found a bug and then fixed it.

Fixed a bug where an 'already borrowed' arror would occur when pressing keyboard keys in quick succession. Moving the borrow and borrow_mut of the window state inside the button down/up event seems to fix this.