buggins / dlangui

Cross Platform GUI for D programming language
Boost Software License 1.0
815 stars 121 forks source link

Handling of modifier keys within x1 platform is broken #582

Open Disco1267 opened 5 years ago

Disco1267 commented 5 years ago

Handling of shift ctrl and alt with the mouse buttons is broken. To reproduce, open some source file (bigger that one page) in the editor window. Use the mouse wheel -> doc scrolls -> fine Press and hold ctrl and use the mouse wheel -> doc view zooms in and out. -> fine Release the ctrl key and use the mouse wheel -> doc view still zooms -> wrong If you play with shift and mouse you get similar effects. The last modifier key seems to be active, even though it was released. I have found the problem in the source and a fix is ready, will try to create a proper pull request.