occivink / mpv-scripts

Various scripts for mpv
The Unlicense
417 stars 38 forks source link

[crop] Add disable_window_dragging option, enable by default #62

Open po5 opened 1 year ago

po5 commented 1 year ago

This lets users hold and drag to select a crop area.
The window-dragging property is temporarily set to no, can be disabled with a script opt.
After dragging, releasing left mouse will submit the crop.
It is still possible to do a simple left click to set each crop corner individually.

occivink commented 1 year ago

Sounds good, but I would like it to check the state of the property on down event, and only re-enable it if it was actually enabled.

po5 commented 1 year ago

True, will do that.