pguedes / gesticle

a libinput gesture daemon
GNU General Public License v3.0
3 stars 1 forks source link

Pinch update #8

Open Alsan opened 4 years ago

Alsan commented 4 years ago

Most of the changes are due to my code formatter, therefore, i would prefer merge code manually.

The code actual take effects are:

  1. add #[derive(Copy, Clone)] to SwipeGesture and PinchGesture;
  2. change update method of PinchBuilder
  3. change GesturePinchEvent::Update event handler
pguedes commented 3 years ago

@Alsan i did a bit of hacking... based on your changes.

have a look at this branch: https://github.com/pguedes/gesticle/tree/Alsan-pinch-update

run it if u can to see if it works for you... and let me know

Alsan commented 3 years ago

Works pretty good under terminal, but not that good for the stupid chromium and vscode. I'm looking for a custom zoom control plugin, but not found yet, might need to write it myself.