mpv-scripts icon indicating copy to clipboard operation
mpv-scripts copied to clipboard

[crop] Add disable_window_dragging option, enable by default

Open po5 opened this issue 3 years ago • 2 comments

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.

po5 avatar Sep 18 '22 00:09 po5

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.

occivink avatar Sep 18 '22 10:09 occivink

True, will do that.

po5 avatar Sep 19 '22 09:09 po5