serge-rgb / milton

An infinite-canvas paint program
GNU General Public License v3.0
1.53k stars 133 forks source link

Using '|' instead of '&' when checking for click input. #131

Closed aameen951 closed 5 years ago

aameen951 commented 5 years ago

Hi,

I wonder if this is a bug:

https://github.com/serge-rgb/milton/blob/e369c5eaeb12deabad5af9e86b78023f9a693210/src/milton.cc#L1415

I feel like it should be input->flags & MiltonInputFlags_CLICK.