nelsam / vidar

vidar is a highly experimental Go editor, written in Go, using gxui
The Unlicense
50 stars 7 forks source link

gxui: MouseUp uses the MouseDown position #103

Closed nelsam closed 6 years ago

nelsam commented 6 years ago

When gxui detects a MouseUp event, it updates the position of the MouseUp event to be the same as the corresponding MouseDown event. This is clearly incorrect when dragging events happen.

99 is also caused by this.